diff --git a/playbooks/build_tasmota_v2.yml b/playbooks/build_tasmota_v2.yml index 680bdab..9b131a2 100755 --- a/playbooks/build_tasmota_v2.yml +++ b/playbooks/build_tasmota_v2.yml @@ -22,11 +22,15 @@ dest: /share/docker_data/docker-tasmota/Tasmota version: '{{ BRANCH }}' + # - name: Fetch tasmota # ansible.builtin.shell: # cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}' # chdir: /share/docker_data/docker-tasmota/Tasmota - + - name: Remove existing directory + ansible.builtin.file: + path: /share/docker_data/docker-tasmota/Tasmota + state: absent - name: Git checkout ansible.builtin.git: