taskPing.yml 479 Bytes
---
- name: Ping
  hosts: localhost
  remote_user: pi
  tasks:
    - ping:

- name: "envoyer d'un fichier vers arduino cpt1"
  hosts: localhost
  tasks:
    - file:
          path: /home/pifou/Documents/test
          state: directory
          mode: 0755
          group: pifou
          owner: pifou
    - get_url:
          url:  http://serveur-etu.polytech-lille.fr/~grouille/PROJET/upload/binaire.c
          dest: /home/pifou/Documents/test/binaire.c
          mode: '0440'