diff options
Diffstat (limited to 'vagrant/roles/local.prep/tasks/main.yml')
-rw-r--r-- | vagrant/roles/local.prep/tasks/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vagrant/roles/local.prep/tasks/main.yml b/vagrant/roles/local.prep/tasks/main.yml index 732c79b..ddef820 100644 --- a/vagrant/roles/local.prep/tasks/main.yml +++ b/vagrant/roles/local.prep/tasks/main.yml @@ -1,3 +1,12 @@ +- name: Generate distro-vars.yml in ansible directory + block: + - set_fact: + t: + distro: "{{ distro }}" + - copy: + content: '{{ t| to_nice_yaml }}' + dest: ./ansible/distro-vars.yml + - name: copy vagrant generated inventory file - local machine copy: src: .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory |