diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-04-22 00:48:00 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-04-22 00:48:00 +0200 |
commit | 081bed2aa103781dfc1ce186994ed93c30f5bda8 (patch) | |
tree | fc49ee477cc68b3f5f25e1685acfbed41a4b14e7 /vm-install.yml | |
parent | cleanup (diff) |
minor renaming
Diffstat (limited to 'vm-install.yml')
-rw-r--r-- | vm-install.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vm-install.yml b/vm-install.yml new file mode 100644 index 00000000..e82aa33c --- /dev/null +++ b/vm-install.yml @@ -0,0 +1,21 @@ +--- +- name: Basic Installation + hosts: "{{ vmname }}" + gather_facts: no + pre_tasks: + - name: Gather facts of vm host + setup: + delegate_to: "{{ vm_install.host }}" + delegate_facts: yes + roles: + - role: vm-install + +- import_playbook: "host_playbooks/{{ vmname }}.yml" + +- name: Reboot and wait for VM come back + hosts: "{{ vmname }}" + gather_facts: no + roles: + - role: reboot-and-wait + reboot_delay: 10 + reboot_timeout: 120 |