Allow profile selection by setting docker_profiles
This commit is contained in:
parent
68608a15a0
commit
f7eb4fa46d
@ -5,3 +5,4 @@ compose_dir: /home/core/compose
|
|||||||
state: present # or running, build, absent
|
state: present # or running, build, absent
|
||||||
execute: smart # or always or never
|
execute: smart # or always or never
|
||||||
disable_template: false
|
disable_template: false
|
||||||
|
docker_profiles: []
|
||||||
|
@ -10,4 +10,7 @@
|
|||||||
recreate: smart
|
recreate: smart
|
||||||
build: true
|
build: true
|
||||||
remove_orphans: true
|
remove_orphans: true
|
||||||
|
profiles: docker_profiles
|
||||||
when: (compose_files.changed and execute == "smart") or execute == "always"
|
when: (compose_files.changed and execute == "smart") or execute == "always"
|
||||||
|
|
||||||
|
# vim: ft=yaml.ansible
|
||||||
|
@ -10,5 +10,6 @@
|
|||||||
restarted: true
|
restarted: true
|
||||||
recreate: smart
|
recreate: smart
|
||||||
build: false
|
build: false
|
||||||
|
profiles: docker_profiles
|
||||||
remove_orphans: true
|
remove_orphans: true
|
||||||
when: (compose_files.changed and execute == "smart") or execute == "always"
|
when: (compose_files.changed and execute == "smart") or execute == "always"
|
||||||
|
Loading…
Reference in New Issue
Block a user