mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-12-18 11:19:59 +01:00
This commit is contained in:
@@ -15,7 +15,11 @@
|
||||
# - 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:
|
||||
repo: 'https://github.com/arendst/Tasmota.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