- hosts: nas name: Build tasmota ignore_unreachable: false tasks: - name: Build tasmota ansible.builtin.shell: cmd: 'git fetch https://github.com/arendst/Tasmota.git development' chdir: /share/docker_data/docker-tasmota/Tasmota when: inventory_hostname in groups['nas']