mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-04 07:24:00 -07:00
[PR #10512/3bb7a77b backport][stable-11] arg_spec adjustments: modules [o-s]* (#10530)
arg_spec adjustments: modules [o-s]* (#10512)
* arg_spec adjustments: modules [o-s]*
* add changelog frag
(cherry picked from commit 3bb7a77b14
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
5c5774b7b5
commit
2dbcfaa650
42 changed files with 210 additions and 205 deletions
|
@ -265,14 +265,14 @@ def create(
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
check=dict(required=False),
|
||||
creator=dict(required=False),
|
||||
expire=dict(type='int', required=False),
|
||||
expire_on_resolve=dict(type='bool', required=False),
|
||||
reason=dict(required=False),
|
||||
check=dict(),
|
||||
creator=dict(),
|
||||
expire=dict(type='int'),
|
||||
expire_on_resolve=dict(type='bool'),
|
||||
reason=dict(),
|
||||
state=dict(default='present', choices=['present', 'absent']),
|
||||
subscription=dict(required=True),
|
||||
url=dict(required=False, default='http://127.0.01:4567'),
|
||||
url=dict(default='http://127.0.01:4567'),
|
||||
),
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue