From 811173b87d38a981ddf926765e43b3a72eff5351 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Mon, 26 Sep 2016 19:42:08 +0100 Subject: [PATCH] Revert dynamic includes for inventory-based conditionals Forcing dynamic includes for inventory-based conditionals results in incomplete execution. Change-Id: I50877c774c87f2e412ea77a2ed095f2dd61dc8ed --- tasks/rabbitmq_ssl_self_signed.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/tasks/rabbitmq_ssl_self_signed.yml b/tasks/rabbitmq_ssl_self_signed.yml index b46037a0..3ec83537 100644 --- a/tasks/rabbitmq_ssl_self_signed.yml +++ b/tasks/rabbitmq_ssl_self_signed.yml @@ -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]