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

@ -2,13 +2,11 @@
service:
name: wg-quick@wg0
state: restarted
become: true
- name: reload nginx
service:
name: nginx
state: reloaded
become: true
- name: reload nftables
command:
@ -16,4 +14,3 @@
- nft
- -f
- /etc/nftables.conf
become: true