mirror of
https://github.com/ansible/awx.git
synced 2026-05-06 17:07:36 -02:30
delete deprecated parameters and add missing skip_authorization
This commit is contained in:
committed by
John Westcott IV
parent
b9d2e431a6
commit
5a374585de
@@ -38,15 +38,6 @@ options:
|
|||||||
choices: ["password", "authorization-code"]
|
choices: ["password", "authorization-code"]
|
||||||
type: str
|
type: str
|
||||||
required: True
|
required: True
|
||||||
client_id:
|
|
||||||
description:
|
|
||||||
- Desired client_id for application. Self generated if empty, returned in response
|
|
||||||
type: str
|
|
||||||
# TODO it can be defined but is never returned through api, need to check
|
|
||||||
client_secret:
|
|
||||||
description:
|
|
||||||
- Desired client_secret for application. Self generated, returned in response
|
|
||||||
type: str
|
|
||||||
client_type:
|
client_type:
|
||||||
description:
|
description:
|
||||||
- Set to public or confidential depending on how secure the client device is.
|
- Set to public or confidential depending on how secure the client device is.
|
||||||
@@ -70,22 +61,16 @@ options:
|
|||||||
default: "present"
|
default: "present"
|
||||||
choices: ["present", "absent"]
|
choices: ["present", "absent"]
|
||||||
type: str
|
type: str
|
||||||
host:
|
skip_authorization:
|
||||||
description:
|
description:
|
||||||
- Host for this credential.
|
- Set True to skip authorization step for completely trusted applications.
|
||||||
- Deprecated, will be removed in a future release
|
default: false
|
||||||
type: str
|
type: bool
|
||||||
username:
|
username:
|
||||||
description:
|
description:
|
||||||
- Username for this credential. ``access_key`` for AWS.
|
- Username for this credential. ``access_key`` for AWS.
|
||||||
- Deprecated, please use inputs
|
- Deprecated, please use inputs
|
||||||
type: str
|
type: str
|
||||||
password:
|
|
||||||
description:
|
|
||||||
- Password for this credential. ``secret_key`` for AWS. ``api_key`` for RAX.
|
|
||||||
- Use "ASK" and launch in Tower to be prompted.
|
|
||||||
- Deprecated, please use inputs
|
|
||||||
type: str
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
@@ -125,9 +110,8 @@ def main():
|
|||||||
organization=dict(required=True),
|
organization=dict(required=True),
|
||||||
redirect_uris=dict(type="list", elements='str'),
|
redirect_uris=dict(type="list", elements='str'),
|
||||||
state=dict(choices=['present', 'absent'], default='present'),
|
state=dict(choices=['present', 'absent'], default='present'),
|
||||||
host=dict(),
|
skip_authorization=dict(type=bool),
|
||||||
username=dict(),
|
username=dict()
|
||||||
password=dict(no_log=True)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Create a module for ourselves
|
# Create a module for ourselves
|
||||||
|
|||||||
Reference in New Issue
Block a user