diff --git a/tasks/set_facts_.yaml b/tasks/set_facts_.yaml index 4f6f79a7..7d480106 100644 --- a/tasks/set_facts_.yaml +++ b/tasks/set_facts_.yaml @@ -17,12 +17,12 @@ - block: - set_fact: - critical_services: "{{ critical_services }} + [ 'dhcpd' ]" + critical_services: "{{ critical_services + [ 'dhcpd' ] }}" when: not staticips - block: - set_fact: - critical_services: "{{ critical_services }} + [ 'keepalived' ]" + critical_services: "{{ critical_services + [ 'keepalived' ] }}" when: high_availability is defined - block: