17 lines
292 B
YAML
17 lines
292 B
YAML
|
|
||
|
- name: Export all vars
|
||
|
hosts: osx
|
||
|
|
||
|
tasks:
|
||
|
- name: Dump all vars
|
||
|
template:
|
||
|
src: dumpall.j2
|
||
|
dest: /tmp/ansible-vars.all
|
||
|
|
||
|
- name: Copy new file to host
|
||
|
fetch:
|
||
|
src: /tmp/ansible-vars.all
|
||
|
dest: special/ansible-vars.all
|
||
|
flat: yes
|
||
|
|