update lint

This commit is contained in:
excalibrax 2020-05-14 11:14:12 -05:00
parent ca992246d1
commit 5a47cd8f94
3 changed files with 6 additions and 6 deletions

View File

@ -139,7 +139,7 @@ options:
description:
- list of notifications to send on error
type: list
elements: str
elements: str
extends_documentation_fragment: awx.awx.auth
'''
@ -191,7 +191,7 @@ def main():
update_on_project_update=dict(type='bool'),
notification_templates_started=dict(type="list", elements='str'),
notification_templates_success=dict(type="list", elements='str'),
notification_templates_error=dict(type="list", elements='str'),
notification_templates_error=dict(type="list", elements='str'),
state=dict(choices=['present', 'absent'], default='present'),
)
@ -279,7 +279,7 @@ def main():
# If the state was present we can let the module build or update the existing inventory_source, this will return on its own
module.create_or_update_if_needed(
inventory_source, inventory_source_fields,
inventory_source, inventory_source_fields,
endpoint='inventory_sources', item_type='inventory source',
associations=association_fields
)

View File

@ -173,7 +173,7 @@ def main():
# If the state was present and we can let the module build or update the existing organization, this will return on its own
module.create_or_update_if_needed(
organization, org_fields,
organization, org_fields,
endpoint='organizations', item_type='organization',
associations=association_fields,
)

View File

@ -132,7 +132,7 @@ options:
description:
- list of notifications to send on start
type: list
elements: str
elements: str
extends_documentation_fragment: awx.awx.auth
'''
@ -253,7 +253,7 @@ def main():
association_fields['notification_templates_approvals'] = []
for item in notifications_approval:
association_fields['notification_templates_approvals'].append(module.resolve_name_to_id('notification_templates', item))
on_change = None
new_spec = module.params.get('survey')
if new_spec: