mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
airbrake_deployment: Add types to the argument_spec (#592)
As suggested in #583.
This commit is contained in:
parent
35cee20a6c
commit
53c0c83522
1 changed files with 8 additions and 8 deletions
|
@ -111,15 +111,15 @@ def main():
|
||||||
|
|
||||||
module = AnsibleModule(
|
module = AnsibleModule(
|
||||||
argument_spec=dict(
|
argument_spec=dict(
|
||||||
token=dict(required=False, no_log=True),
|
token=dict(required=False, no_log=True, type='str'),
|
||||||
project_id=dict(required=False, no_log=True),
|
project_id=dict(required=False, no_log=True, type='str'),
|
||||||
project_key=dict(required=False, no_log=True),
|
project_key=dict(required=False, no_log=True, type='str'),
|
||||||
environment=dict(required=True),
|
environment=dict(required=True, type='str'),
|
||||||
user=dict(required=False),
|
user=dict(required=False, type='str'),
|
||||||
repo=dict(required=False),
|
repo=dict(required=False, type='str'),
|
||||||
revision=dict(required=False),
|
revision=dict(required=False, type='str'),
|
||||||
version=dict(required=False, type='str'),
|
version=dict(required=False, type='str'),
|
||||||
url=dict(required=False, default='https://api.airbrake.io/api/v4/projects/'),
|
url=dict(required=False, default='https://api.airbrake.io/api/v4/projects/', type='str'),
|
||||||
validate_certs=dict(default=True, type='bool'),
|
validate_certs=dict(default=True, type='bool'),
|
||||||
),
|
),
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
|
|
Loading…
Reference in a new issue