Merge "Avoid an Ansible quirk in hacluster role"

This commit is contained in:
Zuul 2021-04-26 10:36:41 +00:00 committed by Gerrit Code Review
commit a3233552cf
1 changed files with 1 additions and 3 deletions

View File

@ -5,9 +5,7 @@
command: docker exec {{ service.container_name }} crm_attribute --type crm_config --name stonith-enabled --update false
run_once: true
become: true
when:
- inventory_hostname in groups[service.group]
- service.enabled | bool
delegate_to: "{{ groups[service.group][0] }}"
- name: Ensure remote node is added
vars: