From 3186960f5420e69bc731dea2f574d30deac6393b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 29 Dec 2021 17:26:26 +0100 Subject: add workaround for nasty bug in ansible 5.x --- roles/openwrt/image/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'roles/openwrt/image/tasks/main.yml') 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: -- cgit v1.2.3