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