Commit a7e459d9f5f454b2f2e2ee9f721c18c24ee4215f
1 parent
e7c09f48
update taskPing
Showing
1 changed file
with
1 additions
and
15 deletions
Show diff stats
Ansible/taskPing.yml
1 | 1 | --- |
2 | 2 | - name: Ping |
3 | - hosts: localhost | |
3 | + hosts: all | |
4 | 4 | remote_user: pi |
5 | 5 | tasks: |
6 | 6 | - ping: |
7 | - | |
8 | -- name: "envoyer d'un fichier vers arduino cpt1" | |
9 | - hosts: localhost | |
10 | - tasks: | |
11 | - - file: | |
12 | - path: /home/pifou/Documents/test | |
13 | - state: directory | |
14 | - mode: 0755 | |
15 | - group: pifou | |
16 | - owner: pifou | |
17 | - - get_url: | |
18 | - url: http://serveur-etu.polytech-lille.fr/~grouille/PROJET/upload/binaire.c | |
19 | - dest: /home/pifou/Documents/test/binaire.c | |
20 | - mode: '0440' | |
21 | 7 | \ No newline at end of file | ... | ... |