summaryrefslogtreecommitdiff
path: root/vminstall.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-04-21 23:28:35 +0200
committerChristian Pointner <equinox@spreadspace.org>2018-04-21 23:28:35 +0200
commit2e5b51cc24b6f6c91e7f969fe14e3adc2d4e80f2 (patch)
tree6cbb61b2f17061fee06306a3ec2e58e2fc3e87de /vminstall.yml
parentupdated google apt key (diff)
rename all .yaml to .yml
Diffstat (limited to 'vminstall.yml')
-rw-r--r--vminstall.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/vminstall.yml b/vminstall.yml
new file mode 100644
index 00000000..e82aa33c
--- /dev/null
+++ b/vminstall.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