This commit is contained in:
ladislav.dusa 2024-11-15 17:19:57 +01:00
parent 894f78e2d0
commit 296f37b31c

View File

@ -89,6 +89,13 @@
- webhub-web-1 - webhub-web-1
when: '"webhub" in selected_containers' when: '"webhub" in selected_containers'
- name: Add elements to a list
set_fact:
docker_containers: "{{ docker_containers | default([]) + [item] }}"
loop:
- pihole
when: '"pihole" in selected_containers'
- debug: - debug:
msg: "{{ docker_containers }}" msg: "{{ docker_containers }}"
- name: Stop mailu containers - name: Stop mailu containers