Bug #27317
Sync template for playing roles with new inventory structure
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
Associated revisions
History
#1
Updated by Ondřej Pražák almost 4 years ago
- Related to Bug #25462: When running Ansible roles on host, debug message is not printed added
#2
Updated by Ondřej Pražák almost 4 years ago
- Bugzilla link set to 1574461
#3
Updated by Ewoud Kohl van Wijngaarden almost 4 years ago
- Triaged changed from No to Yes
- Target version set to 1.23.0
- Category set to Templates
- Project changed from Ansible to Foreman
#4
Updated by The Foreman Bot almost 4 years ago
- Fixed in Releases 1.23.0 added
#5
Updated by Ondřej Pražák almost 4 years ago
- Status changed from New to Closed
Applied in changeset community-templates|4435830b5374262a158f0b621ee86db77972cc34.
#6
Updated by Ondřej Pražák almost 4 years ago
- Copied to Bug #27329: Sync template for playing roles with new inventry structure added
#7
Updated by Marek Hulán almost 4 years ago
- Pull request https://github.com/theforeman/community-templates/pull/552 added
#8
Updated by Tomer Brisker almost 4 years ago
- Subject changed from Sync template for playing roles with new inventry structure to Sync template for playing roles with new inventory structure
Fixes #27317 - Fix the host params key