mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
c06d9f7bc1
commit
dab68012c7
@ -78,7 +78,12 @@
|
|||||||
loop:
|
loop:
|
||||||
- mosquitto-mosquitto-1"
|
- mosquitto-mosquitto-1"
|
||||||
when: '"mosquitto" in selected_containers'
|
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:
|
- debug:
|
||||||
msg: "{{ docker_containers }}"
|
msg: "{{ docker_containers }}"
|
||||||
- name: Stop mailu containers
|
- name: Stop mailu containers
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
- name: import a task
|
- name: import a task
|
||||||
hosts: containers
|
hosts: containers
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
# vars:
|
||||||
|
# selected_containers: selected_containers|split(",")
|
||||||
tasks:
|
tasks:
|
||||||
# - debug:
|
# - debug:
|
||||||
# msg: "{{ inventory_hostname }}"
|
# msg: "{{ inventory_hostname }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user