Make deploy.sh accessible with sudo

This commit is contained in:
Sam A. 2023-12-28 18:59:05 +01:00
parent c76ec95ab9
commit 6265387d02
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 2 additions and 2 deletions

View file

@ -33,6 +33,6 @@
- name: Copy deploy.sh - name: Copy deploy.sh
ansible.builtin.template: ansible.builtin.template:
src: scripts/deploy.sh.j2 src: scripts/deploy.sh.j2
dest: /usr/local/bin/deploy.sh dest: /usr/bin/deploy.sh
owner: root owner: root
mode: u=rwx,g=rx,o=rx mode: u=rwx,g=rx,o=rx

View file

@ -57,6 +57,6 @@
- name: Copy deploy.sh - name: Copy deploy.sh
ansible.builtin.template: ansible.builtin.template:
src: scripts/deploy.sh.j2 src: scripts/deploy.sh.j2
dest: /usr/local/bin/deploy.sh dest: /usr/bin/deploy.sh
owner: root owner: root
mode: u=rwx,g=rx,o=rx mode: u=rwx,g=rx,o=rx