diff --git a/playbooks/sync_mailu.yaml b/playbooks/sync_mailu.yaml index c3ba4a7..2dfa547 100644 --- a/playbooks/sync_mailu.yaml +++ b/playbooks/sync_mailu.yaml @@ -132,10 +132,10 @@ owner: admin group: administrators recurse: yes - become: yes + become: true when: inventory_hostname in groups['raspberry'] - name: Extract - become: yes + become: true ansible.builtin.unarchive: src: /tmp/{{ arch_name }}-{{ ansible_date_time.date }}.tar.gz dest: / @@ -149,5 +149,5 @@ owner: admin group: administrators recurse: yes - become: yes + become: true when: inventory_hostname in groups['raspberry'] \ No newline at end of file