mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
bitwarden
This commit is contained in:
parent
59c13bb689
commit
73abfaa6f1
@ -5,18 +5,18 @@
|
|||||||
# DOCKER_IMAGE: docker-tasmota
|
# DOCKER_IMAGE: docker-tasmota
|
||||||
# FWS: tasmota
|
# FWS: tasmota
|
||||||
tasks:
|
tasks:
|
||||||
- name: Build tasmota
|
- name: Fetch tasmota
|
||||||
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
|
||||||
when: inventory_hostname in groups['nas']
|
when: inventory_hostname in groups['nas']
|
||||||
- name: Build tasmota
|
- name: Checkout tasmota branch
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: 'git checkout --force {{ BRANCH }}'
|
cmd: 'git checkout --force {{ BRANCH }}'
|
||||||
chdir: /share/docker_data/docker-tasmota/Tasmota
|
chdir: /share/docker_data/docker-tasmota/Tasmota
|
||||||
when: inventory_hostname in groups['nas']
|
when: inventory_hostname in groups['nas']
|
||||||
|
|
||||||
- name: Build tasmota
|
- name: Pull tasmota
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: 'git pull'
|
cmd: 'git pull'
|
||||||
chdir: /share/docker_data/docker-tasmota/Tasmota
|
chdir: /share/docker_data/docker-tasmota/Tasmota
|
||||||
|
Loading…
x
Reference in New Issue
Block a user