From 59c13bb689aa792e9316b9088123556b496f7f2d Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 4 Jun 2024 00:52:33 +0200 Subject: [PATCH] bitwarden --- playbooks/build_tasmota_v2.yml | 13 +++++++++++++ playbooks/start_containers.yaml | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/playbooks/build_tasmota_v2.yml b/playbooks/build_tasmota_v2.yml index 0d38565..7344d5d 100644 --- a/playbooks/build_tasmota_v2.yml +++ b/playbooks/build_tasmota_v2.yml @@ -10,6 +10,19 @@ cmd: 'git fetch https://github.com/arendst/Tasmota.git {{ BRANCH }}' chdir: /share/docker_data/docker-tasmota/Tasmota when: inventory_hostname in groups['nas'] + - name: Build tasmota + ansible.builtin.shell: + cmd: 'git checkout --force {{ BRANCH }}' + chdir: /share/docker_data/docker-tasmota/Tasmota + when: inventory_hostname in groups['nas'] + + - name: Build tasmota + ansible.builtin.shell: + cmd: 'git pull' + chdir: /share/docker_data/docker-tasmota/Tasmota + when: inventory_hostname in groups['nas'] + + - name: Copy platformio_override ansible.builtin.shell: diff --git a/playbooks/start_containers.yaml b/playbooks/start_containers.yaml index e843b01..c0b5e19 100644 --- a/playbooks/start_containers.yaml +++ b/playbooks/start_containers.yaml @@ -1,5 +1,5 @@ --- -- name: Start mailu containers - command: "docker start gitlab semaphore-db-1 semaphore-app-1 nginx-app-1 heimdall mailu2-admin-1 mailu2-antispam-1 mailu2-antivirus-1 mailu2-fetchmail-1 mailu2-front-1 mailu2-imap-1 mailu2-oletools-1 mailu2-redis-1 mailu2-resolver-1 mailu2-smtp-1 mailu2-webdav-1 mailu2-webmail-1 HomeAssistant mosquitto-mosquitto-1 webhub-web-1" +- name: Stop mailu containers + command: "docker start kestra-kestra-1 kestra-postgres-1 authentik-postgresql-1 authentik-worker-1 authentik-server-1 authentik-redis-1 gitlab semaphore-db-1 semaphore-app-1 nginx-app-1 heimdall mailu2-admin-1 mailu2-antispam-1 mailu2-antivirus-1 mailu2-fetchmail-1 mailu2-front-1 mailu2-imap-1 mailu2-oletools-1 mailu2-redis-1 mailu2-resolver-1 mailu2-smtp-1 mailu2-webdav-1 mailu2-webmail-1 HomeAssistant mosquitto-mosquitto-1 webhub-web-1" become: true ignore_errors: true \ No newline at end of file