mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-21 20:31:02 +01:00
Solved wiregiard bug
This commit is contained in:
parent
ef8a0925b6
commit
665c96164b
@ -1,6 +1,6 @@
|
||||
- name: "restart wireguard"
|
||||
systemd:
|
||||
name: wg-quick.cymais@wg0.service
|
||||
name: wg-quick@wg0.cymais.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
|
@ -18,10 +18,10 @@
|
||||
group: root
|
||||
notify: reload sysctl configuration
|
||||
|
||||
- name: create /etc/wireguard/wg0.conf
|
||||
- name: create /etc/wireguard/wg0.cymais.conf
|
||||
copy:
|
||||
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf"
|
||||
dest: /etc/wireguard/wg0.conf
|
||||
dest: /etc/wireguard/wg0.cymais.conf
|
||||
owner: root
|
||||
group: root
|
||||
notify: restart wireguard
|
Loading…
Reference in New Issue
Block a user