diff --git a/roles/rpi_scripts/tasks/main.yaml b/roles/rpi_scripts/tasks/main.yaml index 579be9c..c483408 100644 --- a/roles/rpi_scripts/tasks/main.yaml +++ b/roles/rpi_scripts/tasks/main.yaml @@ -1,19 +1,19 @@ --- - name: Confirm directory structure ansible.builtin.file: - path: /home/pi/bin + path: ~/bin state: directory # Model script - name: Ensure raspberry pi model script is present ansible.builtin.copy: src: rpi-model.sh - dest: /home/pi/bin/model + 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: /home/pi/bin/temp + dest: ~/bin/temp mode: '0755' force: yes