aboutsummaryrefslogtreecommitdiffstats
path: root/roles/serial/tasks/main.yml
blob: 2db546d99a1bebc2930c76065377015d5e7ae384 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

# serial ~~ tasks/main.yml

---

- name: Check pyserial installation
  command: python3 -m pip install pyserial

- name: Ensure python scripts directory exists
  file:
    path: /data/python
    recurse: true
    state: directory

- name: Copy custom serial library
  copy:
    src: serial_macro.py
    dest: /data/python/serial_macro.py

remember that computers suck.