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 5 years ago. Updated almost 5 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 #1

Updated by Ewoud Kohl van Wijngaarden about 5 years ago

  • 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
Actions #2

Updated by Marek Hulán almost 5 years ago

  • Fixed in Releases foreman-ansible 3.0.3 added
Actions #3

Updated by Ondřej Pražák almost 5 years ago

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

Updated by Marek Hulán almost 5 years ago

  • 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)
Actions

Also available in: Atom PDF