43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
|
---
|
||
|
argument_specs:
|
||
|
main:
|
||
|
options:
|
||
|
ansible_default_ipv4:
|
||
|
interface:
|
||
|
type: "str"
|
||
|
required: true
|
||
|
vpn_wireguard_role:
|
||
|
type: "str"
|
||
|
required: true
|
||
|
vpn_wireguard_address:
|
||
|
type: "str"
|
||
|
required: true
|
||
|
vpn_wireguard_netmask:
|
||
|
type: "str"
|
||
|
required: true
|
||
|
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' }}"
|