2022-12-20 19:47:11 +01:00
|
|
|
---
|
|
|
|
argument_specs:
|
|
|
|
main:
|
|
|
|
options:
|
|
|
|
ansible_default_ipv4:
|
|
|
|
interface:
|
|
|
|
type: "str"
|
|
|
|
required: true
|
2023-07-20 20:27:37 +02:00
|
|
|
vpn_wireguard_iface:
|
|
|
|
type: "str"
|
|
|
|
required: true
|
2023-07-20 20:50:42 +02:00
|
|
|
vpn_wireguard_mtu:
|
|
|
|
type: "int"
|
|
|
|
required: true
|
2022-12-20 19:47:11 +01:00
|
|
|
vpn_wireguard_role:
|
|
|
|
type: "str"
|
|
|
|
required: true
|
|
|
|
vpn_wireguard_address:
|
|
|
|
type: "str"
|
|
|
|
required: true
|
2023-07-22 12:28:49 +02:00
|
|
|
vpn_wireguard_prefixlen:
|
2022-12-20 19:47:11 +01:00
|
|
|
type: "str"
|
|
|
|
required: true
|
2023-07-22 12:28:49 +02:00
|
|
|
vpn_wireguard_address_v6:
|
|
|
|
type: "str"
|
|
|
|
required: false
|
|
|
|
vpn_wireguard_prefixlen_v6:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_address_v6 is defined }}"
|
2022-12-20 19:47:11 +01:00
|
|
|
vpn_wireguard_port:
|
|
|
|
type: "int"
|
|
|
|
required: true
|
|
|
|
vpn_wireguard_interface_private_key:
|
|
|
|
type: "str"
|
|
|
|
required: true
|
|
|
|
vpn_wireguard_subnet:
|
|
|
|
type: "str"
|
|
|
|
required: false
|
|
|
|
vpn_wireguard_clients:
|
|
|
|
type: "list"
|
|
|
|
elem: "dict"
|
|
|
|
required: "{{ vpn_wireguard_role == 'server' }}"
|
|
|
|
vpn_wireguard_routing_table:
|
|
|
|
type: "int"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|
|
|
|
vpn_wireguard_server_public_key:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|
|
|
|
vpn_wireguard_server_preshared_key:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|
|
|
|
vpn_wireguard_server_address:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|