Add wireguard configs for odo.
This commit is contained in:
parent
83f8b2509b
commit
b5ffd1e44d
|
@ -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
|
||||
|
|
Binary file not shown.
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…
Reference in New Issue