Merge "Fix chrony genconfig"

This commit is contained in:
Jenkins 2017-02-16 02:02:47 +00:00 committed by Gerrit Code Review
commit 55d23e1356
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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