55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
---
|
|
argument_specs:
|
|
main:
|
|
options:
|
|
ansible_default_ipv4:
|
|
interface:
|
|
type: "str"
|
|
required: true
|
|
vpn_wireguard_iface:
|
|
type: "str"
|
|
required: true
|
|
vpn_wireguard_mtu:
|
|
type: "int"
|
|
required: true
|
|
vpn_wireguard_role:
|
|
type: "str"
|
|
required: true
|
|
vpn_wireguard_address:
|
|
type: "str"
|
|
required: true
|
|
vpn_wireguard_prefixlen:
|
|
type: "str"
|
|
required: true
|
|
vpn_wireguard_address_v6:
|
|
type: "str"
|
|
required: false
|
|
vpn_wireguard_prefixlen_v6:
|
|
type: "str"
|
|
required: "{{ vpn_wireguard_address_v6 is defined }}"
|
|
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' }}"
|