summaryrefslogtreecommitdiff
path: root/chaos-at-home
diff options
context:
space:
mode:
Diffstat (limited to 'chaos-at-home')
-rw-r--r--chaos-at-home/ch-ap.yml8
-rw-r--r--chaos-at-home/ch-router.yml8
-rw-r--r--chaos-at-home/openwrt.yml18
3 files changed, 18 insertions, 16 deletions
diff --git a/chaos-at-home/ch-ap.yml b/chaos-at-home/ch-ap.yml
deleted file mode 100644
index 5dcb5ea2..00000000
--- a/chaos-at-home/ch-ap.yml
+++ /dev/null
@@ -1,8 +0,0 @@
----
-- name: Basic Setup
- hosts: chaos-at-home-ap
- connection: local
- gather_facts: no
-
- roles:
- - role: openwrt/image
diff --git a/chaos-at-home/ch-router.yml b/chaos-at-home/ch-router.yml
deleted file mode 100644
index 6543ce8c..00000000
--- a/chaos-at-home/ch-router.yml
+++ /dev/null
@@ -1,8 +0,0 @@
----
-- name: Basic Setup
- hosts: ch-router
- connection: local
- gather_facts: no
-
- roles:
- - role: openwrt/image
diff --git a/chaos-at-home/openwrt.yml b/chaos-at-home/openwrt.yml
new file mode 100644
index 00000000..9a02c8c6
--- /dev/null
+++ b/chaos-at-home/openwrt.yml
@@ -0,0 +1,18 @@
+---
+- name: generate OpenWRT image
+ hosts: "{{ install_hostname }}"
+ connection: local
+ gather_facts: no
+
+ roles:
+ - role: openwrt/image
+ post_tasks:
+ - name: print resulting files
+ pause:
+ seconds: 0
+ prompt: |
+ You can find the newly generated files here:
+
+ {% for image in openwrt_output_images %}
+ {{ image | realpath }}
+ {% endfor %}