Project

General

Profile

Actions

Bug #25689

closed

Ansible role not triggered after Host creation & manually we have to click the "Run Ansible Roles" button from Host detail page

Added by rahul sharma over 5 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
hard
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Foreman v1.16 is not able to trigger the ansible role after Host creation. I’m able to inflate the Host using the “Run Ansible Roles” button on Host details page. But my requirement is not run the ansible role while creating host. Please let me know if you need anything from side.

I have posted this same question on your other community page( https://community.theforeman.org/t/ansible-role-not-triggered-after-host-creation/10000 ) got reply but not the solution. Is this issue resolved in latest foreman release??

Thanks in advance

Actions #1

Updated by rahul sharma over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Tomer Brisker over 5 years ago

  • Project changed from Foreman to Ansible
  • Category deleted (Host creation)
  • Assignee deleted (Daniel Lobato Garcia)
  • Team Backlog deleted (Daniel)

Please do not assign issues to developers.
Moving this to the ansible plugin for further investigation.
Keep in mind that Foreman 1.16 is not supported any more for more than half a year. Please upgrade to a recent version of Foreman (1.20 at the time of writing) and Foreman Ansible plugin as this may have been resolved since than.

Actions #3

Updated by Ondřej Ezr almost 3 years ago

  • Status changed from New to Resolved

This was already resolved, after Host creation we run the assigned Roles.

Actions

Also available in: Atom PDF