stop before config copy
This commit is contained in:
parent
1ffb214035
commit
eb535fa97f
@ -4,6 +4,12 @@
|
||||
- wireguard
|
||||
state: latest
|
||||
|
||||
- name: stop wireguard and enable on boot
|
||||
systemd:
|
||||
name: wg-quick@hatecomputers
|
||||
enabled: yes
|
||||
state: stopped
|
||||
|
||||
- name: copy config
|
||||
ansible.builtin.copy:
|
||||
src: ../files/wireguard.cfg
|
||||
@ -24,7 +30,7 @@
|
||||
systemd:
|
||||
name: wg-quick@hatecomputers
|
||||
enabled: yes
|
||||
state: started
|
||||
state: restarted
|
||||
|
||||
- name: allow wireguard endpoint ufw
|
||||
ufw:
|
||||
|
Loading…
Reference in New Issue
Block a user