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.
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
- Subject changed from When running Ansible roles on host, debug message is not printed
to When running Ansible roles on host, debug message is not printed
- Status changed from New to Closed
- Assignee set to Ondřej Pražák
- Pull request https://github.com/theforeman/community-templates/pull/552 added
- Fixed in Releases foreman-ansible 3.0.3 added
- Related to Bug #27317: Sync template for playing roles with new inventory structure added
- Pull request https://github.com/theforeman/foreman_ansible/pull/285 added
- Pull request deleted (
https://github.com/theforeman/community-templates/pull/552)
- Fixed in Releases foreman-ansible 3.0.4 added
- Fixed in Releases deleted (
foreman-ansible 3.0.3)
Also available in: Atom
PDF