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.
20 lines
438 B
20 lines
438 B
---
|
|
- 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
|