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