diff --git a/Ansible/roles/arduino/tasks/main.yml b/Ansible/roles/arduino/tasks/main.yml index 2ab70a6..f402a55 100644 --- a/Ansible/roles/arduino/tasks/main.yml +++ b/Ansible/roles/arduino/tasks/main.yml @@ -8,6 +8,15 @@ mode: '0644' when: ordre == 0 + - name: "envoyer du fichier temps.txt" + copy: + src: ../../../../site/upload/temps.txt + dest: /home/pi/capteur{{capteur}}/temps.txt + owner: root + group: root + mode: '0644' + when: ordre == 0 + - name: "execution du script lancer" shell: /home/pi/capteur{{capteur}}/lancer.sh when: ordre == 0 @@ -19,5 +28,5 @@ - name: "execution du script" file: path: /home/pi/capteur{{capteur}} - state: absent + state: absent when: ordre == 2 \ No newline at end of file -- libgit2 0.21.2