mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-01-29 10:59:43 +01:00
Compare commits
2 Commits
35c60a8d32
...
3264bd2b79
| Author | SHA1 | Date | |
|---|---|---|---|
| 3264bd2b79 | |||
| 522f03d128 |
@@ -15,13 +15,18 @@
|
||||
# - 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'
|
||||
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 }}'
|
||||
|
||||
Reference in New Issue
Block a user