From a22ecace0cd5b3007c8e8b51a412006db50d8c63 Mon Sep 17 00:00:00 2001 From: jaydee Date: Fri, 29 Sep 2023 09:13:44 +0200 Subject: [PATCH] upt playbook --- playbooks/sync_mailu.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/sync_mailu.yaml b/playbooks/sync_mailu.yaml index 1887fb5..fbe69df 100644 --- a/playbooks/sync_mailu.yaml +++ b/playbooks/sync_mailu.yaml @@ -1,6 +1,7 @@ - hosts: containers name: Stop mailu ignore_unreachable: false + become: true vars: arch_name: docker_mailu2_data tasks: @@ -141,4 +142,6 @@ path: /share/docker_data/mailu2/ owner: admin group: administrators - recurse: yes \ No newline at end of file + recurse: yes + become: true + when: inventory_hostname in groups['raspberry'] \ No newline at end of file