--- - name: Wait until the file ./inventaire.ini hosts: all remote_user: pi become: yes tasks: - shell: /home/pi/capteur3/lancer.sh