From 6265387d0271e11f2c2d5df4021525f3327183cb Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Thu, 28 Dec 2023 18:59:05 +0100 Subject: [PATCH] Make deploy.sh accessible with sudo --- roles/apps/tasks/main.yml | 2 +- roles/proxy/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/apps/tasks/main.yml b/roles/apps/tasks/main.yml index 4a4bb95..5636406 100644 --- a/roles/apps/tasks/main.yml +++ b/roles/apps/tasks/main.yml @@ -33,6 +33,6 @@ - name: Copy deploy.sh ansible.builtin.template: src: scripts/deploy.sh.j2 - dest: /usr/local/bin/deploy.sh + dest: /usr/bin/deploy.sh owner: root mode: u=rwx,g=rx,o=rx diff --git a/roles/proxy/tasks/main.yml b/roles/proxy/tasks/main.yml index 5e34fdd..2c2502b 100644 --- a/roles/proxy/tasks/main.yml +++ b/roles/proxy/tasks/main.yml @@ -57,6 +57,6 @@ - name: Copy deploy.sh ansible.builtin.template: src: scripts/deploy.sh.j2 - dest: /usr/local/bin/deploy.sh + dest: /usr/bin/deploy.sh owner: root mode: u=rwx,g=rx,o=rx