Project

General

Profile

Actions

Bug #27317

closed

Sync template for playing roles with new inventory structure

Added by Ondřej Pražák over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 2 (0 open2 closed)

Related to Ansible - Bug #25462: When running Ansible roles on host, debug message is not printedClosedOndřej PražákActions
Copied to Ansible - Bug #27329: Sync template for playing roles with new inventry structureClosedOndřej PražákActions
Actions

Also available in: Atom PDF