Revert dynamic includes for inventory-based conditionals

Forcing dynamic includes for inventory-based conditionals
results in incomplete execution.

Change-Id: Ifb8dcdb6d4f931fa15f347d9e6f5f1ab0da1efb9
This commit is contained in:
Jesse Pretorius 2016-09-26 20:05:00 +01:00
parent 7ad3392aaf
commit b0fa2aa408

View File

@ -45,13 +45,11 @@
- ironic-install
- include: ironic_api_install.yml
static: no
when: inventory_hostname in groups['ironic_api']
tags:
- ironic-install
- include: ironic_conductor_install.yml
static: no
when: inventory_hostname in groups['ironic_conductor']
tags:
- ironic-install
@ -62,19 +60,16 @@
- ironic-config
- include: ironic_api_post_install.yml
static: no
when: inventory_hostname in groups['ironic_api']
tags:
- ironic-config
- include: ironic_conductor_post_install.yml
static: no
when: inventory_hostname in groups['ironic_conductor']
tags:
- ironic-config
- include: ironic_db_setup.yml
static: no
when: inventory_hostname == groups['ironic_conductor'][0]
tags:
- ironic-install
@ -84,7 +79,6 @@
- ironic-install
- include: ironic_service_setup.yml
static: no
when: inventory_hostname == groups['ironic_api'][0]
tags:
- ironic-install