a357e5fab1
* merge stateless with no storage of local priv key * Delete locally stored private key * add reload module on update config file * privatekey template is not used anymore * remove all local keys priv and public * use ansible_play_hosts instead of hardcoded vpn grp should use the group in the play calling the role. works fine when hosts bellong to several groups * Clean tasks names * add tag, and cleanup * fix private key creation * Support for mutliple wireguard vpn on same host add inventory exemple in readme * fix typo, add some comment on inventory * add wg-config tag to Check config: allow run with -t - wg-config * Update tasks/main.yml Co-Authored-By: Robert Wimmer <2039811+githubixx@users.noreply.github.com> * remove trailing whitespace * Update templates/wg.conf.j2 Co-Authored-By: Robert Wimmer <2039811+githubixx@users.noreply.github.com> * Update templates/wg.conf.j2 Co-Authored-By: Robert Wimmer <2039811+githubixx@users.noreply.github.com> * changes after githubixx code review * readd new line to separate peers in config
10 lines
319 B
YAML
10 lines
319 B
YAML
---
|
|
# Directory to store WireGuard configuration on the remote hosts
|
|
wireguard_remote_directory: "/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"
|