Merge "Force Ansible to use dynamic includes"

This commit is contained in:
Jenkins 2016-09-22 14:55:30 +00:00 committed by Gerrit Code Review
commit 13a6ce582d
5 changed files with 18 additions and 12 deletions

View File

@ -14,6 +14,7 @@
# limitations under the License.
- include: ironic_install_apt.yml
static: no
when:
- ansible_pkg_mgr == 'apt'
vars:

View File

@ -14,12 +14,14 @@
# limitations under the License.
- include: ironic_install_apt.yml
static: no
when:
- ansible_pkg_mgr == 'apt'
vars:
apt_pkgs: "{{ ironic_conductor_distro_packages }}"
- include: ironic_install_apt.yml
static: no
when:
- ansible_pkg_mgr == 'apt'
- ironic_standalone

View File

@ -14,9 +14,11 @@
# limitations under the License.
- include: ironic_init_upstart.yml
static: no
when: pid1_name == "init"
- include: ironic_init_systemd.yml
static: no
when: pid1_name == "systemd"
- name: Load service

View File

@ -24,6 +24,7 @@
- ironic_developer_mode | bool
- include: ironic_install_apt.yml
static: no
when:
- ansible_pkg_mgr == 'apt'
- ironic_developer_mode | bool

View File

@ -45,14 +45,14 @@
- ironic-install
- include: ironic_api_install.yml
when: >
inventory_hostname in groups['ironic_api']
static: no
when: inventory_hostname in groups['ironic_api']
tags:
- ironic-install
- include: ironic_conductor_install.yml
when: >
inventory_hostname in groups['ironic_conductor']
static: no
when: inventory_hostname in groups['ironic_conductor']
tags:
- ironic-install
@ -62,20 +62,20 @@
- ironic-config
- include: ironic_api_post_install.yml
when: >
inventory_hostname in groups['ironic_api']
static: no
when: inventory_hostname in groups['ironic_api']
tags:
- ironic-config
- include: ironic_conductor_post_install.yml
when: >
inventory_hostname in groups['ironic_conductor']
static: no
when: inventory_hostname in groups['ironic_conductor']
tags:
- ironic-config
- include: ironic_db_setup.yml
when: >
inventory_hostname == groups['ironic_conductor'][0]
static: no
when: inventory_hostname == groups['ironic_conductor'][0]
tags:
- ironic-install
@ -84,7 +84,7 @@
- ironic-install
- include: ironic_service_setup.yml
when: >
inventory_hostname == groups['ironic_api'][0]
static: no
when: inventory_hostname == groups['ironic_api'][0]
tags:
- ironic-install