Revert dynamic includes for inventory-based conditionals

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

Change-Id: I50877c774c87f2e412ea77a2ed095f2dd61dc8ed
This commit is contained in:
Jesse Pretorius
2016-09-26 19:42:08 +01:00
parent 17ba3ef528
commit 811173b87d

View File

@@ -16,13 +16,10 @@
# We create the self-signed SSL certificate and key only on the first
# RabbitMQ container.
- include: rabbitmq_ssl_key_create.yml
static: no
when: inventory_hostname == groups[rabbitmq_host_group][0]
- include: rabbitmq_ssl_key_store.yml
static: no
when: inventory_hostname == groups[rabbitmq_host_group][0]
- include: rabbitmq_ssl_key_distribute.yml
static: no
when: inventory_hostname != groups[rabbitmq_host_group][0]