Small ansible role to configure WireGuard on Client+Server (Arch/Ubuntu)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-role-wireguard/playbook-server.sample.yml

18 lines
411 B

---
# Sample server playbook
# Copy to playbook-server.yml
# Run with
# $ ansible-playbook playbook-server.yml --tags wg-server
- hosts: server.example.org
#remote_user: root
gather_facts: false
vars:
- wg_server_public_key: "foo"
- wg_server_private_key: "bar"
- wg_client_public_key: "baz"
- wg_client_private_key: "oof"
- wg_client_server_pre_shared_key:
roles:
- wireguard