From 4855e335d20c2dbdbd4d1d7ec14fce9e138664d9 Mon Sep 17 00:00:00 2001 From: genofire Date: Tue, 30 Jan 2024 20:09:42 +0100 Subject: [PATCH] Update pfsense_virtual_ip.py --- plugins/modules/pfsense_virtual_ip.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/plugins/modules/pfsense_virtual_ip.py b/plugins/modules/pfsense_virtual_ip.py index 02dbff8c..bcb22109 100644 --- a/plugins/modules/pfsense_virtual_ip.py +++ b/plugins/modules/pfsense_virtual_ip.py @@ -28,14 +28,14 @@ description: Type required: True type: str - choices: ['proxyarp', 'carp', 'ipalias', 'other'] + choices: [ "proxyarp", "carp", "ipalias", "other" ] noexpand: description: Disable expansion of this entry into IPs on NAT lists (e.g. 192.168.1.0/24 expands to 256 entries.) required: false type: bool descr: description: Description - required: false + required: False type: str interface: description: Interface @@ -43,38 +43,38 @@ type: str vhid: description: VHID Group - required: false + required: False type: int advbase: description: Advertising Frequency Base - required: false + required: False type: int advskew: description: Advertising Frequency Skew - required: false + required: False type: int password: description: Virtual IP Password - required: false + required: False type: str uniqid: description: Unique ID of Virtual IP in configuration - required: false + required: False type: str type: description: Address Type - required: false + required: False type: str choices: [ "single" ] default: single subnet_bits: description: Network's subnet mask - required: false + required: False type: int default: 32 subnet: description: Network subnet - required: false + required: False type: str state: description: State in which to leave the Virtual IP @@ -109,7 +109,7 @@ VIRTUALIP_ARGUMENT_SPEC = dict( - mode=dict(required=True, type='str'), + mode=dict(required=True, choices=['proxyarp', 'carp', 'ipalias', 'other'], type='str'), interface=dict(required=True, type='str'), vhid=dict(required=False, type='int'), advskew=dict(required=False, type='int'),