You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
---
|
|
# Copyright (C) 2018-2020 Robert Wimmer
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
#######################################
|
|
# General settings
|
|
#######################################
|
|
|
|
# Directory to store WireGuard configuration on the remote hosts
|
|
wireguard_remote_directory: "{{ '/etc/wireguard' if not ansible_os_family == 'Darwin' else '/opt/local/etc/wireguard' }}"
|
|
|
|
# The default port WireGuard will listen if not specified otherwise.
|
|
wireguard_port: "51820"
|
|
|
|
# The default interface name that WireGuard should use if not specified otherwise.
|
|
wireguard_interface: "wg0"
|
|
|
|
# The default owner of the wg.conf file
|
|
wireguard_conf_owner: root
|
|
|
|
# The default group of the wg.conf file
|
|
wireguard_conf_group: "{{ 'root' if not ansible_os_family == 'Darwin' else 'wheel' }}"
|
|
|
|
# The default mode of the wg.conf file
|
|
wireguard_conf_mode: 0600
|
|
|
|
|
|
#######################################
|
|
# Settings only relevant for Ubuntu
|
|
#######################################
|
|
|
|
# Set to "false" if package cache should not be updated
|
|
wireguard_ubuntu_update_cache: "true"
|
|
|
|
# Set package cache valid time
|
|
wireguard_ubuntu_cache_valid_time: "3600"
|