This commit is contained in:
2025-03-18 17:24:20 +01:00
parent 5792932507
commit 3f601f92a0
13 changed files with 414 additions and 91 deletions

View File

@ -2,7 +2,7 @@
name: Sync rpi5
become: true
tasks:
- name: Apt exclude linux-dtb-current-meson64
- name: Get running packages
ansible.builtin.shell: "docker ps|awk '{print $NF}'"
register: containers
- debug:
@ -13,4 +13,4 @@
when: item != "NAMES" and item != "watchtower-watchtower-1"
with_items: "{{ containers.stdout_lines }}"
- name: Sync data
ansible.builtin.shell: "/myapps/venv/bin/python3 /myapps/omv_backup.py -r all"
ansible.builtin.shell: "/myapps/venv/bin/python3 /myapps/omv_backup.py -r all"