You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
563 B
24 lines
563 B
12 months ago
|
---
|
||
|
# Model script
|
||
|
- name: Confirm directory structure
|
||
|
ansible.builtin.file:
|
||
|
path: /home/pi/bin
|
||
|
state: directory
|
||
|
- name: Ensure raspberry pi model script is present
|
||
|
ansible.builtin.copy:
|
||
|
src: rpi-model.sh
|
||
|
dest: /home/pi/bin/model
|
||
|
mode: '0755'
|
||
|
force: yes
|
||
|
# Temperature script
|
||
|
- name: Confirm directory structure
|
||
|
ansible.builtin.file:
|
||
|
path: /home/pi/bin
|
||
|
state: directory
|
||
|
- name: Ensure raspberry pi temp script is present
|
||
|
ansible.builtin.copy:
|
||
|
src: rpi-temp.sh
|
||
|
dest: /home/pi/bin/temp
|
||
|
mode: '0755'
|
||
|
force: yes
|