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

View File

@ -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