diff --git a/playbooks/sync_mailu.yaml b/playbooks/sync_mailu.yaml index 1ecf264..ef97565 100644 --- a/playbooks/sync_mailu.yaml +++ b/playbooks/sync_mailu.yaml @@ -109,6 +109,6 @@ - name: Unpack archive ansible.builtin.shell: 'tar -xzf /tmp/dockers-{{ ansible_date_time.date }}.tar.gz -C /' - become: yes + become: true when: inventory_hostname in groups['raspberry'] \ No newline at end of file