1
0
Fork 0
This repository has been archived on 2020-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-role-wireguard/defaults/main.yml

27 lines
1.1 KiB
YAML
Raw Normal View History

2018-07-16 22:26:00 +00:00
---
# The LOCAL directory where the Wireguard certificate is stored after it was
# generated. By default this will expand to user's LOCAL ${HOME}
# (the user that run's "ansible-playbook" command) plus
# "/wireguard/certs". That means if the user's ${HOME} directory is e.g.
# "/home/da_user" then "wireguard_cert_directory" will have a value of
# "/home/da_user/wireguard/certs". If you change this make sure that
# the parent directory is writable by the user that runs "ansible-playbook"
# command.
wireguard_cert_directory: "{{ '~/wireguard/certs' | expanduser }}"
2018-07-23 21:50:53 +00:00
wireguard_cert_owner: "root"
wireguard_cert_group: "root"
2018-07-16 22:26:00 +00:00
# Directory to store Wireguard configuration on the remote hosts
wireguard_remote_directory: "/etc/wireguard"
# The port Wireguard will listen on.
wireguard_port: "51820"
# The interface name that wireguard should use.
wireguard_interface: "wg0"
2018-07-18 21:57:27 +00:00
# TODO: Currently the role only supports full mesh network. But there
# should also be the possibility to have only one server and many
# peers. Needs to be implemented so this variable isn't used yet.
# wireguard_server: ""