Add wireguard configs for odo.
This commit is contained in:
parent
83f8b2509b
commit
b5ffd1e44d
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,2 +1,2 @@
|
||||
cargo_credentials.toml filter=git-crypt diff=git-crypt
|
||||
wireguard_configs/ filter=git-crypt diff=git-crypt
|
||||
**/wireguard_configs/** filter=git-crypt diff=git-crypt
|
||||
|
@ -50,3 +50,6 @@ efi_dev: /dev/gpt/EFI
|
||||
sound_default_unit: 5
|
||||
sway_conf_files:
|
||||
- launch_gpg
|
||||
wireguard_directory: odo
|
||||
enabled_wireguard:
|
||||
- wgh
|
||||
|
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user