mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
build
This commit is contained in:
1 parent
522f03d128
commit
3264bd2b79
1 file changed
+5
-4
@@ -15,6 +15,10 @@
|
||||
# - name: Pull tasmota
|
||||
# ansible.builtin.shell:
|
||||
# cmd: 'git config --global --add safe.directory /share/docker_data/docker-tasmota/Tasmota'
|
||||
- name: Remove existing directory
|
||||
ansible.builtin.file:
|
||||
path: /share/docker_data/docker-tasmota/Tasmota
|
||||
state: absent
|
||||
|
||||
- name: Checkout a github repo and use refspec to fetch all pull requests
|
||||
ansible.builtin.git:
|
||||
@@ -27,10 +31,7 @@
|
||||
# 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:
|
||||
|
||||
Reference in new issue
Block a user