aboutsummaryrefslogblamecommitdiffstats
path: root/roles/serial/tasks/main.yml
blob: 2db546d99a1bebc2930c76065377015d5e7ae384 (plain) (tree)
1
2
3
4
5
6
7






                                          











                                              

# 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.