From a2272a39029fa97337f187f1b490913cd8adbd24 Mon Sep 17 00:00:00 2001 From: jaydee Date: Fri, 15 Nov 2024 15:41:25 +0100 Subject: [PATCH] bitwarden --- playbooks/stop_containers.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/playbooks/stop_containers.yaml b/playbooks/stop_containers.yaml index a6f6a7b..b3c480d 100644 --- a/playbooks/stop_containers.yaml +++ b/playbooks/stop_containers.yaml @@ -60,26 +60,27 @@ - mailu3-webmail-1 - mailu3-fts_attachments-1 when: '"mailu3" in selected_containers' + - name: Add elements to a list set_fact: docker_containers: "{{ docker_containers | default([]) + [item] }}" loop: - HomeAssistant when: '"homeassistant" in selected_containers' + - name: Add elements to a list set_fact: docker_containers: "{{ docker_containers | default([]) + [item] }}" loop: - webhub-web-1" when: '"webhub" in selected_containers' + - name: Add elements to a list set_fact: docker_containers: "{{ docker_containers | default([]) + [item] }}" loop: - - mosquitto-mosquitto-1" + - mosquitto-mosquitto-1 when: '"mosquitto" in selected_containers' -- name: Add elements to a list - - debug: msg: "{{ docker_containers }}"