mirror of
https://github.com/luzifer-ansible/docker-compose.git
synced 2024-12-23 01:11:16 +00:00
Add option to disable validation of docker-compose file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2b2d0a3ff6
commit
32ec60b6fe
2 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
docker_compose_reload_minutes: 15
|
docker_compose_reload_minutes: 15
|
||||||
docker_compose_stop_action: down
|
docker_compose_stop_action: down
|
||||||
|
docker_compose_validate: true
|
||||||
|
|
||||||
docker_compose_config:
|
docker_compose_config:
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
command: docker-compose config -q
|
command: docker-compose config -q
|
||||||
args:
|
args:
|
||||||
chdir: /etc/docker-compose
|
chdir: /etc/docker-compose
|
||||||
when: compose_file.changed
|
when: compose_file.changed and docker_compose_validate
|
||||||
|
|
||||||
# Install and start services
|
# Install and start services
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue