bitwarden

This commit is contained in:
jaydee 2024-11-14 11:51:47 +01:00
parent 8c155a22a4
commit 97d1c4ec8f

View File

@ -3,14 +3,17 @@
hosts: containers
gather_facts: false
vars:
listjojocomma: "{{ selected_containers | split(',') }}"
listjojocomma: "{{ selected_containers | replace('[', '')| replace(']','')|[split(',') }}"
tasks:
- debug:
msg: "{{ listjojocomma }}"
when: inventory_hostname in groups['morefine-server']
- debug:
msg: "{{ item }}"
loop: "{{ listjojocomma }}"
when: inventory_hostname in groups['morefine-server']
- debug:
msg: "{{ item }}"
loop: "{{ selected_host }}"
loop: "{{ selected_host }}"
when: inventory_hostname in groups['morefine-server']