From d5ad30d7389f139e5682ffe1680b87704092fe86 Mon Sep 17 00:00:00 2001 From: WhatTheMike Date: Tue, 13 Feb 2024 20:20:43 +0000 Subject: [PATCH] Removed duplicate path check --- roles/rpi_scripts/tasks/main.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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