1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-03-27 15:37:38 +00:00

[PR #10505/0f7cd547 backport][stable-11] arg_spec adjustments: modules [g-j]* (#10528)

arg_spec adjustments: modules [g-j]* (#10505)

* arg_spec adjustments: modules [g-j]*

* add changelog frag

(cherry picked from commit 0f7cd5473f)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2025-07-31 23:03:54 +02:00 committed by GitHub
parent 2dbcfaa650
commit e7567e854b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 173 additions and 152 deletions

View file

@ -301,18 +301,18 @@ class GithubDeployKey(object):
def main():
module = AnsibleModule(
argument_spec=dict(
github_url=dict(required=False, type='str', default="https://api.github.com"),
github_url=dict(type='str', default="https://api.github.com"),
owner=dict(required=True, type='str', aliases=['account', 'organization']),
repo=dict(required=True, type='str', aliases=['repository']),
name=dict(required=True, type='str', aliases=['title', 'label']),
key=dict(required=True, type='str', no_log=False),
read_only=dict(required=False, type='bool', default=True),
read_only=dict(type='bool', default=True),
state=dict(default='present', choices=['present', 'absent']),
force=dict(required=False, type='bool', default=False),
username=dict(required=False, type='str'),
password=dict(required=False, type='str', no_log=True),
otp=dict(required=False, type='int', no_log=True),
token=dict(required=False, type='str', no_log=True)
force=dict(type='bool', default=False),
username=dict(type='str'),
password=dict(type='str', no_log=True),
otp=dict(type='int', no_log=True),
token=dict(type='str', no_log=True)
),
mutually_exclusive=[
['password', 'token']