Blame view

Ansible/roles/arduino_Setup/tasks/main.yml 360 Bytes
b05b0dc5   psanchez   gestion des roles
1
  ---
53b1fa7e   psanchez   installation corr...
2
3
  - name: "First Install"
    include: Install.yml
a4e386fb   root   Ajout graphe V1
4
    when: setup == 1 
b05b0dc5   psanchez   gestion des roles
5
  
53b1fa7e   psanchez   installation corr...
6
7
8
9
  - name: "Creation des dossiers pour le capteur"
    file:
      path: /home/pi/capteur{{capteur}}
      state: directory
b05b0dc5   psanchez   gestion des roles
10
  
a407e67a   lringot   send files ans tr...
11
12
  - name: "Download and unzip files"
    unarchive:
6683f02c   zabeth18   update url
13
       src: http://projet-p10.plil.fr/fichiersRPI/fichiersRPI.zip
53b1fa7e   psanchez   installation corr...
14
       dest: /home/pi/capteur{{capteur}}
6683f02c   zabeth18   update url
15
       remote_src: yes