Add support for force redeploying specific apps
This commit is contained in:
@@ -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