[FIX] use root for all handlers

This commit is contained in:
Jannik Beyerstedt 2021-08-20 14:16:37 +02:00
parent ec961db180
commit e9a8c2cc86

View file

@ -2,21 +2,25 @@
# handlers file for server # handlers file for server
- name: Restart sshd - name: Restart sshd
become: yes
service: service:
name: ssh name: ssh
state: restarted state: restarted
- name: Enable caddy - name: Enable caddy
become: yes
service: service:
name: caddy name: caddy
enabled: yes enabled: yes
- name: Restart caddy - name: Restart caddy
become: yes
service: service:
name: caddy name: caddy
state: restarted state: restarted
- name: Enable and restart caddy - name: Enable and restart caddy
become: yes
service: service:
name: caddy name: caddy
state: restarted state: restarted