[FIX] use root for all handlers
This commit is contained in:
parent
ec961db180
commit
e9a8c2cc86
|
@ -2,21 +2,25 @@
|
|||
# handlers file for server
|
||||
|
||||
- name: Restart sshd
|
||||
become: yes
|
||||
service:
|
||||
name: ssh
|
||||
state: restarted
|
||||
|
||||
- name: Enable caddy
|
||||
become: yes
|
||||
service:
|
||||
name: caddy
|
||||
enabled: yes
|
||||
|
||||
- name: Restart caddy
|
||||
become: yes
|
||||
service:
|
||||
name: caddy
|
||||
state: restarted
|
||||
|
||||
- name: Enable and restart caddy
|
||||
become: yes
|
||||
service:
|
||||
name: caddy
|
||||
state: restarted
|
||||
|
|
Loading…
Reference in a new issue