ansible-roles/vpn/wireguard/meta/argument_specs.yml

59 lines
1.5 KiB
YAML
Raw Normal View History

2022-12-20 19:47:11 +01:00
---
argument_specs:
main:
options:
ansible_default_ipv4:
interface:
type: "str"
required: true
2023-07-28 22:30:55 +02:00
ansible_default_ipv6:
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
2023-07-28 22:30:55 +02:00
vpn_wireguard_inet_address:
2022-12-20 19:47:11 +01:00
type: "str"
required: true
2023-07-28 22:30:55 +02:00
vpn_wireguard_inet_prefixlen:
2022-12-20 19:47:11 +01:00
type: "str"
required: true
2023-07-28 22:30:55 +02:00
vpn_wireguard_inet6_address:
2023-07-22 12:28:49 +02:00
type: "str"
2023-07-28 22:30:55 +02:00
required: true
vpn_wireguard_inet6_prefixlen:
2023-07-22 12:28:49 +02:00
type: "str"
2023-07-28 22:30:55 +02:00
required: true
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' }}"