Remove unnecessary use of become from some roles

This should make execution much faster
This commit is contained in:
Jake Howard
2024-09-05 23:33:49 +01:00
parent 25cd394f08
commit d5a7a61171
68 changed files with 11 additions and 243 deletions

View File

@ -4,7 +4,6 @@
- name: Install Headscale
package:
name: headscale
become: true
- name: Install headscale config file
template:
@ -13,7 +12,6 @@
owner: headscale
mode: "0600"
notify: restart headscale
become: true
- name: Install ACLs
template:
@ -22,12 +20,10 @@
owner: headscale
mode: "0600"
notify: restart headscale
become: true
- name: Install nginx config
template:
src: files/nginx.conf
dest: /etc/nginx/http.d/headscale.conf
mode: "0644"
become: true
notify: reload nginx