From e5df2e4dd85e7d63aef380095bbf4d9d1c7d5219 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 21 Jun 2017 07:32:27 -0500 Subject: [PATCH] Use newer when syntax Change-Id: I608a0d6006fa9543f59a4077d5ccc2eee79748aa --- tasks/rabbitmq_started.yml | 8 ++++---- tasks/rabbitmq_stopped.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tasks/rabbitmq_started.yml b/tasks/rabbitmq_started.yml index 82c4dca8..ac23a7e4 100644 --- a/tasks/rabbitmq_started.yml +++ b/tasks/rabbitmq_started.yml @@ -18,8 +18,8 @@ name: rabbitmq-server state: started enabled: yes - when: > - ansible_hostname == rabbitmq_primary_cluster_node + when: + - ansible_hostname == rabbitmq_primary_cluster_node tags: - rabbitmq-server-started - rabbitmq-upgrade @@ -30,8 +30,8 @@ name: rabbitmq-server state: started enabled: yes - when: > - ansible_hostname != rabbitmq_primary_cluster_node + when: + - ansible_hostname != rabbitmq_primary_cluster_node tags: - rabbitmq-server-started - rabbitmq-upgrade diff --git a/tasks/rabbitmq_stopped.yml b/tasks/rabbitmq_stopped.yml index cbc75f4e..ff900afa 100644 --- a/tasks/rabbitmq_stopped.yml +++ b/tasks/rabbitmq_stopped.yml @@ -18,8 +18,8 @@ name: rabbitmq-server state: stopped failed_when: false - when: > - ansible_hostname != rabbitmq_primary_cluster_node + when: + - ansible_hostname != rabbitmq_primary_cluster_node tags: - rabbitmq-server-stopped - rabbitmq-upgrade @@ -30,8 +30,8 @@ name: rabbitmq-server state: stopped failed_when: false - when: > - ansible_hostname == rabbitmq_primary_cluster_node + when: + - ansible_hostname == rabbitmq_primary_cluster_node tags: - rabbitmq-server-stopped - rabbitmq-upgrade