mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-07-01 15:38:33 +02:00
lala
This commit is contained in:
@ -5,6 +5,10 @@
|
||||
# DOCKER_IMAGE: docker-tasmota
|
||||
# FWS: tasmota
|
||||
tasks:
|
||||
- name: Pull tasmota
|
||||
ansible.builtin.shell:
|
||||
cmd: 'git config --global --add safe.directory /share/docker_data/docker-tasmota/Tasmota'
|
||||
|
||||
- name: Fetch tasmota
|
||||
ansible.builtin.shell:
|
||||
cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}'
|
||||
@ -32,13 +36,13 @@
|
||||
|
||||
- name: Build tasmota
|
||||
ansible.builtin.shell:
|
||||
cmd: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker run --rm -v /share/docker_data/docker-tasmota/Tasmota:/tasmota -u $UID:$GID {{ DOCKER_IMAGE }} -e {{ FWS }}'
|
||||
cmd: 'docker run --rm -v /share/docker_data/docker-tasmota/Tasmota:/tasmota -u $UID:$GID {{ DOCKER_IMAGE }} -e {{ FWS }}'
|
||||
chdir: /share/docker_data/docker-tasmota/
|
||||
when: FWS != "all"
|
||||
|
||||
- name: Build tasmota
|
||||
ansible.builtin.shell:
|
||||
cmd: '/share/ZFS530_DATA/.qpkg/container-station/bin/docker run --rm -v /share/docker_data/docker-tasmota/Tasmota:/tasmota -u $UID:$GID {{ DOCKER_IMAGE }}'
|
||||
cmd: 'docker run --rm -v /share/docker_data/docker-tasmota/Tasmota:/tasmota -u $UID:$GID {{ DOCKER_IMAGE }}'
|
||||
chdir: /share/docker_data/docker-tasmota/
|
||||
when: FWS == "all"
|
||||
|
||||
|
Reference in New Issue
Block a user