diff --git a/awx_collection/plugins/modules/tower_application.py b/awx_collection/plugins/modules/tower_application.py index acadc8e66e..54f53417d2 100644 --- a/awx_collection/plugins/modules/tower_application.py +++ b/awx_collection/plugins/modules/tower_application.py @@ -34,7 +34,6 @@ options: authorization_grant_type: description: - The grant type the user must use for acquire tokens for this application. - default: "password" choices: ["password", "authorization-code"] type: str required: False @@ -52,7 +51,8 @@ options: redirect_uris: description: - Allowed urls list, space separated. Required when authorization-grant-type=authorization-code - type: str + type: list + elements: str state: description: - Desired state of the resource. @@ -62,8 +62,9 @@ options: skip_authorization: description: - Set True to skip authorization step for completely trusted applications. - default: false type: bool + +extends_documentation_fragment: awx.awx.auth ''' @@ -104,7 +105,7 @@ def main(): organization=dict(required=True), redirect_uris=dict(type="list", elements='str'), state=dict(choices=['present', 'absent'], default='present'), - skip_authorization=dict(type=bool) + skip_authorization=dict(type='bool') ) # Create a module for ourselves diff --git a/awx_collection/test/awx/test_application.py b/awx_collection/test/awx/test_application.py index a646a30bb7..ad5f99d430 100644 --- a/awx_collection/test/awx/test_application.py +++ b/awx_collection/test/awx/test_application.py @@ -26,4 +26,3 @@ def test_create_application(run_module, admin_user): application = OAuth2Application.objects.get(name='foo_app') assert application.description == 'barfoo' assert application.organization_id == org.id -