add ovpn-client to the interfaces module

add check mode to interface_wireless module
up date checks
This commit is contained in:
Valentin Gurmeza 2017-06-05 15:02:40 -07:00
parent 220f44766b
commit 297f3228bc
3 changed files with 153 additions and 113 deletions

View file

@ -66,7 +66,7 @@ def main():
settings=dict(required=True, type='dict'),
parameter = dict(
required = True,
choices = ['ethernet', 'vlan'],
choices = ['ethernet', 'vlan', 'ovpn-client'],
type = 'str'
),
state = dict(
@ -89,7 +89,7 @@ def main():
desired_params = params['settings'],
idempotent_param = idempotent_parameter,
api_path = '/interface/' + str(params['parameter']),
check_mode = module.check_mode,
check_mode = module.check_mode
)
# exit if login failed