mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
bitwarden
This commit is contained in:
@ -3,14 +3,17 @@
|
|||||||
hosts: containers
|
hosts: containers
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
listjojocomma: "{{ selected_containers | split(',') }}"
|
listjojocomma: "{{ selected_containers | replace('[', '')| replace(']','')|[split(',') }}"
|
||||||
tasks:
|
tasks:
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ listjojocomma }}"
|
msg: "{{ listjojocomma }}"
|
||||||
|
when: inventory_hostname in groups['morefine-server']
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ item }}"
|
msg: "{{ item }}"
|
||||||
loop: "{{ listjojocomma }}"
|
loop: "{{ listjojocomma }}"
|
||||||
|
when: inventory_hostname in groups['morefine-server']
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ item }}"
|
msg: "{{ item }}"
|
||||||
loop: "{{ selected_host }}"
|
loop: "{{ selected_host }}"
|
||||||
|
when: inventory_hostname in groups['morefine-server']
|
Reference in New Issue
Block a user