b05b0dc5
psanchez
gestion des roles
|
1
|
---
|
8fb6b9d1
psanchez
modification des ...
|
2
|
- name: "Copy file for proxy setup"
|
b05b0dc5
psanchez
gestion des roles
|
3
4
5
6
7
8
|
copy:
src: ../files/proxy.conf
dest: /etc/apt/apt.conf.d/proxy.conf
owner: root
group: root
mode: '0644'
|
b05b0dc5
psanchez
gestion des roles
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
- name: "verif install python3"
apt:
name: python3
state: present
- name: "verif install python3-pip"
apt:
name: python3-pip
state: present
- name: "verif install minicom"
apt:
name: minicom
state: present
- name: "verif install wiringpi"
apt:
name: wiringpi
state: present
- name: "verif install avrdude"
apt:
name: avrdude
state: present
- name: "verif install lxml pkg"
pip:
executable: pip3
name: lxml
- name: "verif install requests pkg"
pip:
executable: pip3
|
a407e67a
lringot
send files ans tr...
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
name: requests
- name: "verif install pyserial pkg"
pip:
executable: pip3
name: pyserial
- name: "Download and unzip files"
unarchive:
src: http://serveur-etu.polytech-lille.fr/~grouille/PROJET/fichiersRPI/fichiersRPI.zip
dest: /home/pi/
remote_src: yes
- name: "Lancement script setup"
shell: /home/pi/fichiersRPI/toto.sh
|