Project

General

Profile

Bug #25462

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

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

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

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

Related to Foreman - Bug #27317: Sync template for playing roles with new inventory structureClosed

History

#1 Updated by Ewoud Kohl van Wijngaarden 12 months ago

  • Assignee set to Ondřej Pražák
  • Status changed from New to Closed
  • 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
  • Pull request https://github.com/theforeman/community-templates/pull/552 added

#2 Updated by Marek Hulán 9 months ago

  • Fixed in Releases foreman-ansible 3.0.3 added

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

  • Related to Bug #27317: Sync template for playing roles with new inventory structure added

#4 Updated by Marek Hulán 7 months ago

  • Fixed in Releases foreman-ansible 3.0.4 added
  • Fixed in Releases deleted (foreman-ansible 3.0.3)
  • Pull request https://github.com/theforeman/foreman_ansible/pull/285 added
  • Pull request deleted (https://github.com/theforeman/community-templates/pull/552)

Also available in: Atom PDF