Project

General

Profile

Actions

Feature #27273

closed

Tracker #31404: Improve Ansible integration so it is usable as CfgMngmt tool

Enable to choose the launch order for Ansible roles

Added by Kenny Tordeurs over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
-

Description

Currently the Ansible roles are launched in a different order then presented for the host.

Extract from [[https://community.theforeman.org/t/foreman-ansible-choose-the-order-of-launch-roles/13254]]
~~~
The ordering of roles is not yet implemented. The workaround for now is creating a meta-role, that has the roles specified in the correct order.

The main reason is that we are not sure how to tackle inheritance of roles in a flexible but sane way. Currently, we are thinking about having sorted ‘lists’ of roles on each level and adding the roles from the oldest parent first and then moving down the inheritance chain.
~~~


Related issues 1 (0 open1 closed)

Related to Ansible - Refactor #32069: Improve the look of AnsibleRolesSwitcherClosedOndřej PražákActions
Actions

Also available in: Atom PDF