summaryrefslogtreecommitdiff
path: root/chaos-at-home/openwrt.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-08-19 00:37:38 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-08-19 00:37:38 +0200
commit0deb066a2c4557d9fd07c982379c8342db6cc53f (patch)
treee5f7db7ecc13c42d72d599da0c64bec527ecfad2 /chaos-at-home/openwrt.yml
parentupdate debian bullseye keyring (diff)
use shared playbook for openwrt image generation
Diffstat (limited to 'chaos-at-home/openwrt.yml')
-rw-r--r--chaos-at-home/openwrt.yml18
1 files changed, 18 insertions, 0 deletions
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 %}