{"repo":"O-X-L/ansible-role-wireguard","free":true,"listed":false,"github":"https://github.com/O-X-L/ansible-role-wireguard","clone":"git clone https://github.com/O-X-L/ansible-role-wireguard.git","description":"Ansible Role to provision Wireguard Site-to-Site Tunnels","language":"Jinja","stars":18,"topics":["ansible-role","ansible","vpn","vpn-server","wireguard","automation","network-as-code","infrastructure-as-code","iac"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Ansible Role - WireGuard Site-to-Site VPN Role to deploy WireGuard Site-to-Site VPN setups. Molecule Integration-Tests : Status: Logs: API Short Full Internal CI: Tester Role Jobs API Tested: Debian 11 Raspbian 11 Debian 12 ---- Install ---- Contributing Feel free to: Open PRs Start discussions Open issues = after checking out the troubleshooting guide below! ---- Usage Examples Here some detailed config examples and their results: Topology - Single Topology - Star Topology - Mesh Config You can define your WireGuard topologies spanning multiple hosts or host-groups. The role will filter the topologies to the ones the current target-host is a part of and configure those. These peer-keys must match your ansible inventory-hostnames! You might want to use 'ansible-vault' to encrypt the host-key files: Execution Run the playbook: Or if you have encrypted your keys: There are also some useful tags available: base config tunnels purge If you only want to provision one of your topologies you can set the following variable at execution time: ---- Functionality Package installation WireGuard Resolvconf ( name resolution ) Configuration Simplified configuration by the mapping of topologies Supported topologies : single - simply connect two nodes star - multiple edge/branch nodes connect to one central hub mesh - connect each of the peers to every other one Keys Generating public/private key-pairs for each host in a topology ( WG identifies peer by publicKey ) Keys are written to the co","default_branch":null,"files":null,"tree":[],"storefront":"/r/O-X-L","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/O-X-L/ansible-role-wireguard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}