2019-10-18 19:27:09 -07:00
|
|
|
|
|
|
|
- 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
|
2019-10-20 12:36:39 -07:00
|
|
|
dest: ansible-vars.all
|
2019-10-18 19:27:09 -07:00
|
|
|
flat: yes
|
|
|
|
|