From 52d2e7fcb518829075f7e7c79a0789939068bc13 Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Sun, 25 Apr 2021 21:14:00 -0400 Subject: [PATCH] Add support for force redeploying specific apps --- playbooks/deploy-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/deploy-compose.yml b/playbooks/deploy-compose.yml index 3f2db90..58087f2 100644 --- a/playbooks/deploy-compose.yml +++ b/playbooks/deploy-compose.yml @@ -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