Project

General

Profile

Bug #27329

Sync template for playing roles with new inventry structure

Added by Ondřej Pražák 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

Template uses `foreman_params` to display information about host, it should be `foreman`.

Steps to reproduce:

1) play ansible roles on host with 'Ansible Roles - Ansible Default' job tamplate

1:
   2:PLAY [all] *********************************************************************
   3:
   4:TASK [Gathering Facts] *********************************************************
   5:ok: [host1.example.com]
   6:
   7:TASK [Display all parameters known for the Foreman host] ***********************
   8:ok: [host1.example.com] => {
   9:    "foreman_params": "VARIABLE IS NOT DEFINED!" 
  10:}
  11:PLAY RECAP *********************************************************************
  12:host1.example.com : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0
  13:Exit status: 0

Related issues

Copied from Foreman - Bug #27317: Sync template for playing roles with new inventory structureClosed

Associated revisions

Revision 8612d328 (diff)
Added by Ondřej Pražák 7 months ago

Fixes #27329 - Fix host params key (#285)

History

#1 Updated by Ondřej Pražák 7 months ago

  • Copied from Bug #27317: Sync template for playing roles with new inventory structure added

#2 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_ansible/pull/285 added

#3 Updated by The Foreman Bot 7 months ago

  • Fixed in Releases foreman-ansible 3.0.4 added

#4 Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF