diff --git a/ansible/roles/rabbitmq/tasks/main.yml b/ansible/roles/rabbitmq/tasks/main.yml index b017e8b4ad..f7e4afef42 100644 --- a/ansible/roles/rabbitmq/tasks/main.yml +++ b/ansible/roles/rabbitmq/tasks/main.yml @@ -1,2 +1,3 @@ --- - include: "{{ action }}.yml" + when: inventory_hostname in groups['rabbitmq']