mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Enable use of empty manageiq arguments (#31774)
* anable use of empty manageiq arguments * make default verify_ssl true
This commit is contained in:
parent
6693cc3f5a
commit
2765ee4b9a
4 changed files with 34 additions and 25 deletions
|
@ -37,7 +37,7 @@ except ImportError:
|
|||
|
||||
|
||||
def manageiq_argument_spec():
|
||||
return dict(
|
||||
options = dict(
|
||||
url=dict(default=os.environ.get('MIQ_URL', None)),
|
||||
username=dict(default=os.environ.get('MIQ_USERNAME', None)),
|
||||
password=dict(default=os.environ.get('MIQ_PASSWORD', None), no_log=True),
|
||||
|
@ -46,6 +46,12 @@ def manageiq_argument_spec():
|
|||
ca_bundle_path=dict(required=False, default=None),
|
||||
)
|
||||
|
||||
return dict(
|
||||
manageiq_connection=dict(type='dict',
|
||||
default=dict(verify_ssl=True),
|
||||
options=options),
|
||||
)
|
||||
|
||||
|
||||
def check_client(module):
|
||||
if not HAS_CLIENT:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue