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