summaryrefslogtreecommitdiff
path: root/skillz/image-generate.yml
diff options
context:
space:
mode:
Diffstat (limited to 'skillz/image-generate.yml')
-rw-r--r--skillz/image-generate.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/skillz/image-generate.yml b/skillz/image-generate.yml
new file mode 100644
index 00000000..1b11f1eb
--- /dev/null
+++ b/skillz/image-generate.yml
@@ -0,0 +1,20 @@
+---
+- name: generate os image
+ hosts: "{{ install_hostnames }}"
+ connection: local
+ gather_facts: no
+ roles:
+ - role: "installer/{{ install_distro }}/image"
+ post_tasks:
+ - pause:
+ seconds: 0
+ prompt: |
+ The resulting images can be found here:
+
+ {% for host in play_hosts %}
+ {{ host }}:
+ {% for image in hostvars[host].output_images %}
+ - {{ image }}
+ {% endfor %}
+
+ {% endfor %}