Fix chrony genconfig
Closes-Bug: #1665047 Change-Id: Ief0813e4f505574c9b8eee8a59765dadbac474ed
This commit is contained in:
parent
dd79b8d1d3
commit
e01900b3ce
@ -10,3 +10,7 @@
|
||||
name: "{{ service.container_name }}"
|
||||
image: "{{ service.image }}"
|
||||
volumes: "{{ service.volumes }}"
|
||||
when:
|
||||
- action != "config"
|
||||
- inventory_hostname in groups[service.group]
|
||||
- service.enabled | bool
|
||||
|
@ -36,9 +36,9 @@
|
||||
privileged: "{{ item.value.privileged }}"
|
||||
volumes: "{{ item.value.volumes }}"
|
||||
when:
|
||||
- action != "config"
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
- action != "genconfig"
|
||||
with_dict: "{{ chrony_services }}"
|
||||
notify:
|
||||
- Restart chrony container
|
||||
|
Loading…
Reference in New Issue
Block a user