mirror of
https://github.com/zahodi/ansible-mikrotik.git
synced 2025-08-02 00:54:42 +02:00
add ovpn-client to the interfaces module
add check mode to interface_wireless module up date checks
This commit is contained in:
parent
220f44766b
commit
297f3228bc
3 changed files with 153 additions and 113 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue