Actualiser playbook.yml
This commit is contained in:
parent
52659ff758
commit
f4e6f16822
|
|
@ -4,8 +4,12 @@
|
||||||
connection: local
|
connection: local
|
||||||
become: false
|
become: false
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: echo variable
|
||||||
|
debug:
|
||||||
|
msg: "{{ dir_list | split(' ') }}"
|
||||||
|
|
||||||
- name: Create test file
|
- name: Create test file
|
||||||
copy:
|
copy:
|
||||||
content: |
|
content: |
|
||||||
test 2 {{dir_list}}
|
test 2 {{ dir_list | split(' ') }}
|
||||||
dest: /home/thomas/test.txt
|
dest: /home/thomas/test.txt
|
||||||
Loading…
Reference in a new issue