1
0
Fork 0
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:
David M. Lee 2020-06-27 02:16:30 -05:00 committed by GitHub
parent 35cee20a6c
commit 53c0c83522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,