From 7c3b5fc0540b6368214b3d5bada50c4d4b8b5c05 Mon Sep 17 00:00:00 2001 From: Justin Date: Sat, 31 Oct 2026 14:54:08 -0500 Subject: [PATCH] Add recreate:auto to qbits task, add beszel-agent restart playbook Co-Authored-By: Claude Sonnet 5 --- docker/update-docker-compose.yaml | 3 ++- ubuntu/restart-beszel.yaml | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 ubuntu/restart-beszel.yaml diff --git a/docker/update-docker-compose.yaml b/docker/update-docker-compose.yaml index 6f3a000..8889f44 100644 --- a/docker/update-docker-compose.yaml +++ b/docker/update-docker-compose.yaml @@ -7,11 +7,12 @@ community.docker.docker_compose_v2: project_src: /home/justin/docker/qbits pull: always + recreate: auto register: result retries: 3 delay: 3 until: result is not failed - + - name: Pause ansible.builtin.pause: diff --git a/ubuntu/restart-beszel.yaml b/ubuntu/restart-beszel.yaml new file mode 100644 index 0000000..2fa62d6 --- /dev/null +++ b/ubuntu/restart-beszel.yaml @@ -0,0 +1,10 @@ +--- +- name: Restart beszel-agent service + hosts: ubuntu_servers + become: true + + tasks: + - name: Restart beszel-agent + ansible.builtin.systemd: + name: beszel-agent + state: restarted