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: /