update to tower_project_update

This commit is contained in:
sean-m-sullivan
2020-08-22 13:43:14 -05:00
parent d6815e5114
commit 3794f095cf
2 changed files with 50 additions and 11 deletions

View File

@@ -52,10 +52,16 @@ extends_documentation_fragment: awx.awx.auth
'''
RETURN = '''
project_info:
description: dictionary containing information about the project updated
returned: If project synced
type: dict
id:
description: project id of the updated project
returned: success
type: int
sample: 86
status:
description: status of the updated project
returned: success
type: str
sample: pending
'''
@@ -81,9 +87,9 @@ def main():
argument_spec = dict(
name=dict(required=True, aliases=['project']),
organization=dict(),
wait=dict(required=False, default=True, type='bool'),
interval=dict(required=False, default=1.0, type='float'),
timeout=dict(required=False, default=None, type='int'),
wait=dict(default=True, type='bool'),
interval=dict(default=1.0, type='float'),
timeout=dict(default=None, type='int'),
)
# Create a module for ourselves