- hosts: containers name: Stop mailu ignore_unreachable: false become: yes tasks: - name: Extract become: yes become_user: root ansible.builtin.unarchive: src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz dest: / remote_src: yes when: inventory_hostname in groups['raspberry']