From cd36b32c6fadae8a8be7c3341a4785c54e71b97b Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 27 May 2024 14:44:10 +0200 Subject: [PATCH] bitwarden --- playbooks/build_tasmota_v2.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/playbooks/build_tasmota_v2.yml b/playbooks/build_tasmota_v2.yml index d7e5abf..e377c50 100644 --- a/playbooks/build_tasmota_v2.yml +++ b/playbooks/build_tasmota_v2.yml @@ -31,4 +31,12 @@ cmd: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker run --rm -v /share/docker_data/docker-tasmota/Tasmota:/tasmota -u $UID:$GID {{ DOCKER_IMAGE }}' chdir: /share/docker_data/docker-tasmota/ when: FWS == "all" - \ No newline at end of file + - name: Create a directory if it does not exist + ansible.builtin.file: + path: /share/docker_data/webhub/fw/{{ BRANCH }} + state: directory + mode: '0755' + - name: Build tasmota + ansible.builtin.shell: + cmd: 'mv Tasmota/build_output/firmware/* /share/docker_data/webhub/fw/{{ BRANCH }}' + when: inventory_hostname in groups['nas'] \ No newline at end of file