Add wireguard configs for odo.
This commit is contained in:
BIN
ansible/roles/wireguard/files/wireguard_configs/odo/wgf.conf
Normal file
BIN
ansible/roles/wireguard/files/wireguard_configs/odo/wgf.conf
Normal file
Binary file not shown.
BIN
ansible/roles/wireguard/files/wireguard_configs/odo/wgh.conf
Normal file
BIN
ansible/roles/wireguard/files/wireguard_configs/odo/wgh.conf
Normal file
Binary file not shown.
@@ -13,14 +13,6 @@
|
||||
group: root
|
||||
with_fileglob: "files/wireguard_configs/{{ wireguard_directory }}/*.conf"
|
||||
|
||||
- name: Enable Wireguard
|
||||
when: enabled_wireguard is defined
|
||||
systemd:
|
||||
enabled: yes
|
||||
name: "wg-quick@{{ item }}"
|
||||
daemon_reload: yes
|
||||
loop: "{{ enabled_wireguard }}"
|
||||
|
||||
- name: Enable gateway
|
||||
when: wireguard_gateway is defined and wireguard_gateway == true
|
||||
community.general.sysrc:
|
||||
|
||||
Reference in New Issue
Block a user