summaryrefslogtreecommitdiff
path: root/roles/openwrt/image/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-12-29 17:26:26 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-12-29 17:26:26 +0100
commit3186960f5420e69bc731dea2f574d30deac6393b (patch)
tree1562acf24b5a982bc6e57d18de5c47743c9818e8 /roles/openwrt/image/tasks/main.yml
parentvm/guest: switch to machine-type q35 (diff)
add workaround for nasty bug in ansible 5.x
Diffstat (limited to 'roles/openwrt/image/tasks/main.yml')
-rw-r--r--roles/openwrt/image/tasks/main.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/openwrt/image/tasks/main.yml b/roles/openwrt/image/tasks/main.yml
index c029f4c7..e019bf6f 100644
--- a/roles/openwrt/image/tasks/main.yml
+++ b/roles/openwrt/image/tasks/main.yml
@@ -1,11 +1,12 @@
---
-- include: fetch.yml
- run_once: true
+- name: fetch imagebuilder
when: openwrt_imgbuilder_tarball is not defined
+ run_once: true
+ import_tasks: fetch.yml
- name: build the image
block:
- - include: prepare.yml
+ - import_tasks: prepare.yml
- name: Create the output directory for built images
file: