mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Meraki - Add check for auth_key parameter (#56199)
* auth_key parameter is required - This will have to change when httpapi is implemented * Add integration test * Add assertion * Enable VLANs on network * Add required for auth_key
This commit is contained in:
committed by
Nathaniel Case
parent
fa7aedc4c3
commit
322cfa49d0
@@ -37,7 +37,7 @@ from ansible.module_utils._text import to_native, to_bytes, to_text
|
||||
|
||||
|
||||
def meraki_argument_spec():
|
||||
return dict(auth_key=dict(type='str', no_log=True, fallback=(env_fallback, ['MERAKI_KEY'])),
|
||||
return dict(auth_key=dict(type='str', no_log=True, fallback=(env_fallback, ['MERAKI_KEY']), required=True),
|
||||
host=dict(type='str', default='api.meraki.com'),
|
||||
use_proxy=dict(type='bool', default=False),
|
||||
use_https=dict(type='bool', default=True),
|
||||
|
||||
@@ -15,6 +15,7 @@ options:
|
||||
description:
|
||||
- Authentication key provided by the dashboard. Required if environmental variable C(MERAKI_KEY) is not set.
|
||||
type: str
|
||||
required: yes
|
||||
host:
|
||||
description:
|
||||
- Hostname for Meraki dashboard.
|
||||
|
||||
Reference in New Issue
Block a user