Project

General

Profile

Actions

Bug #25462

closed

When running Ansible roles on host, debug message is not printed

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

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:
When running roles on host, debug message which is supposed to contain parameters coming from Foreman is not printed when playbook execution fails.
Ansible executes roles at first and tasks after that. When we change tasks to pre_tasks, it is executed before roles and we can debug varibales.

Steps to Reproduce:
1. Have a Sat with ansible role imported
2. Add host parameter
3. Make sure the playbook execution fails
4. Click "Run Ansible roles" button


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #27317: Sync template for playing roles with new inventory structureClosedOndřej PražákActions
Actions

Also available in: Atom PDF