mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-12-19 11:49:02 +01:00
This commit is contained in:
@@ -15,6 +15,10 @@
|
|||||||
# - name: Pull tasmota
|
# - name: Pull tasmota
|
||||||
# ansible.builtin.shell:
|
# ansible.builtin.shell:
|
||||||
# cmd: 'git config --global --add safe.directory /share/docker_data/docker-tasmota/Tasmota'
|
# 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
|
- name: Checkout a github repo and use refspec to fetch all pull requests
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
@@ -27,10 +31,7 @@
|
|||||||
# ansible.builtin.shell:
|
# ansible.builtin.shell:
|
||||||
# cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}'
|
# cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}'
|
||||||
# chdir: /share/docker_data/docker-tasmota/Tasmota
|
# 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
|
- name: Git checkout
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
|
|||||||
Reference in New Issue
Block a user