From 194972549e8b178c8c4149c289c4da9c7f135840 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 29 Aug 2023 15:20:13 +0200 Subject: [PATCH] upt playbook --- playbooks/sync_mailu.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playbooks/sync_mailu.yaml b/playbooks/sync_mailu.yaml index 5058cf3..bcf14ce 100644 --- a/playbooks/sync_mailu.yaml +++ b/playbooks/sync_mailu.yaml @@ -1,6 +1,7 @@ - hosts: containers name: Stop mailu ignore_unreachable: false + become: yes tasks: - name: Start mailu rasp uri: @@ -112,7 +113,8 @@ # when: inventory_hostname in groups['raspberry'] - name: Extract - become: true + become: yes + become_user: root ansible.builtin.unarchive: src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz dest: /