diff options
Diffstat (limited to 'dan/vm-deploy.yml')
-rw-r--r-- | dan/vm-deploy.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dan/vm-deploy.yml b/dan/vm-deploy.yml new file mode 100644 index 00000000..33268b6d --- /dev/null +++ b/dan/vm-deploy.yml @@ -0,0 +1,18 @@ +--- +- name: generate os image + hosts: "{{ install_hostname }}" + connection: local + gather_facts: no + roles: + - role: "{{ install_distro }}/image" + +- name: cook variables for host + hosts: "{{ install_hostname }}" + gather_facts: no + tasks: + - set_fact: + install: "{{ install | default({}) }}" + network: "{{ network | default({}) }}" + vm_host: "{{ vm_host | default({}) }}" + +- import_playbook: ../common/vm-deploy.yml |