mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 12:38:11 +00:00
bitwarden
This commit is contained in:
parent
c06d9f7bc1
commit
dab68012c7
@ -78,7 +78,12 @@
|
||||
loop:
|
||||
- mosquitto-mosquitto-1"
|
||||
when: '"mosquitto" in selected_containers'
|
||||
|
||||
- name: Add elements to a list
|
||||
set_fact:
|
||||
docker_containers: "{{ docker_containers | default([]) + [item] }}"
|
||||
loop:
|
||||
- mosquitto-mosquitto-1"
|
||||
when: '"ha" in selected_containers'
|
||||
- debug:
|
||||
msg: "{{ docker_containers }}"
|
||||
- name: Stop mailu containers
|
||||
|
@ -2,6 +2,8 @@
|
||||
- name: import a task
|
||||
hosts: containers
|
||||
gather_facts: false
|
||||
# vars:
|
||||
# selected_containers: selected_containers|split(",")
|
||||
tasks:
|
||||
# - debug:
|
||||
# msg: "{{ inventory_hostname }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user