Add support for force redeploying specific apps

This commit is contained in:
Ethan Paul 2021-04-25 21:14:00 -04:00
parent 4edb4d0400
commit 52d2e7fcb5
No known key found for this signature in database
GPG Key ID: D0E2CBF1245E92BF
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
register: _stack_file_state
- 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:
name: "{{ _runtime_application }}"
state: absent