summaryrefslogtreecommitdiff
path: root/chaos-at-home
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-07-11 04:21:12 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-07-11 04:21:12 +0200
commit18cfada22a9acd031d3b77ba6132d700b611eedb (patch)
treea4e1e6242274accb71edf7a9075a95de80fa3a02 /chaos-at-home
parentMerge branch 'topic/vm-host-network' (diff)
usb installer: add multi-host boot stick support
Diffstat (limited to 'chaos-at-home')
-rw-r--r--chaos-at-home/ch-oulu.yml2
-rw-r--r--chaos-at-home/usb-generate.yml10
2 files changed, 12 insertions, 0 deletions
diff --git a/chaos-at-home/ch-oulu.yml b/chaos-at-home/ch-oulu.yml
index ef508629..a0fd3eaa 100644
--- a/chaos-at-home/ch-oulu.yml
+++ b/chaos-at-home/ch-oulu.yml
@@ -9,3 +9,5 @@
- role: core/cpu-microcode
- role: vm/host/base
- role: vm/host/network
+ - role: installer/debian/base
+ - role: installer/openbsd/base
diff --git a/chaos-at-home/usb-generate.yml b/chaos-at-home/usb-generate.yml
new file mode 100644
index 00000000..3340d93b
--- /dev/null
+++ b/chaos-at-home/usb-generate.yml
@@ -0,0 +1,10 @@
+---
+- name: cook variables for host
+ hosts: "{{ install_hostnames }}"
+ gather_facts: no
+ tasks:
+ - set_fact:
+ install_cooked: "{{ install }}"
+ network_cooked: "{{ network }}"
+
+- import_playbook: ../common/usb-generate.yml