|
|
|
---
|
|
|
|
- name: Confirm directory structure
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: ~/bin
|
|
|
|
state: directory
|
|
|
|
# Model script
|
|
|
|
- name: Ensure raspberry pi model script is present
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: rpi-model.sh
|
|
|
|
dest: ~/bin/model
|
|
|
|
mode: '0755'
|
|
|
|
force: yes
|
|
|
|
# Temperature script
|
|
|
|
- name: Ensure raspberry pi temp script is present
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: rpi-temp.sh
|
|
|
|
dest: ~/bin/temp
|
|
|
|
mode: '0755'
|
|
|
|
force: yes
|