Add support for force redeploying specific apps
This commit is contained in:
parent
4edb4d0400
commit
52d2e7fcb5
@ -73,7 +73,7 @@
|
|||||||
register: _stack_file_state
|
register: _stack_file_state
|
||||||
|
|
||||||
- name: Remove the existing stack
|
- name: Remove the existing stack
|
||||||
when: _stack_file_state.changed is true
|
when: _stack_file_state.changed is true or omni_compose_apps[_runtime_application].force_clean | default(false) is true
|
||||||
docker_stack:
|
docker_stack:
|
||||||
name: "{{ _runtime_application }}"
|
name: "{{ _runtime_application }}"
|
||||||
state: absent
|
state: absent
|
||||||
|
Reference in New Issue
Block a user