Validate compose files
This commit is contained in:
parent
a9a27d617b
commit
31462f85ee
4 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
|||
dest: "/opt/dnsmasq/docker-compose.yml"
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
validate: /usr/bin/docker-compose -f %s config
|
||||
register: compose_file
|
||||
become: true
|
||||
become_user: root
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
dest: "/opt/netdata/docker-compose.yml"
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
validate: /usr/bin/docker-compose -f %s config
|
||||
register: compose_file
|
||||
become: true
|
||||
become_user: root
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
dest: "/opt/portainer/docker-compose.yml"
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
validate: /usr/bin/docker-compose -f %s config
|
||||
register: compose_file
|
||||
become: true
|
||||
become_user: root
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
dest: "/opt/watchtower/docker-compose.yml"
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
validate: /usr/bin/docker-compose -f %s config
|
||||
register: compose_file
|
||||
become: true
|
||||
become_user: root
|
||||
|
|
Loading…
Reference in a new issue