Use only one set_fact (instead of two)
This commit is contained in:
parent
c5add9a63f
commit
99642a10e4
|
@ -15,11 +15,6 @@
|
|||
- name: "Set NTP »pools« for machines without default gateway"
|
||||
set_fact:
|
||||
timesync_pools: "{{ timesync_default_pools }}"
|
||||
when: timesync_servers|default(False) == False and timesync_pools|default(False) == False
|
||||
|
||||
|
||||
- name: "Set NTP »server« for machines without default gateway"
|
||||
set_fact:
|
||||
timesync_servers: "{{ timesync_default_servers }}"
|
||||
when: timesync_servers|default(False) == False and timesync_pools|default(False) == False
|
||||
|
||||
|
|
Loading…
Reference in a new issue