2022-12-18 23:43:40 +01:00
|
|
|
---
|
2022-12-09 22:45:58 +01:00
|
|
|
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' }}"
|
2022-12-10 01:03:32 +01:00
|
|
|
vpn_wireguard_routing_table:
|
|
|
|
type: "int"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|
2022-12-09 22:45:58 +01:00
|
|
|
vpn_wireguard_server_public_key:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|
2022-12-10 01:03:32 +01:00
|
|
|
vpn_wireguard_server_preshared_key:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|
2022-12-09 22:45:58 +01:00
|
|
|
vpn_wireguard_server_address:
|
|
|
|
type: "str"
|
|
|
|
required: "{{ vpn_wireguard_role == 'client' }}"
|