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
|
@ -100,16 +100,12 @@ def main():
|
|||
"""Decrypt secret using systemd-creds."""
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type="str", required=False),
|
||||
newline=dict(type="bool", required=False, default=False),
|
||||
name=dict(type="str"),
|
||||
newline=dict(type="bool", default=False),
|
||||
secret=dict(type="str", required=True, no_log=True),
|
||||
timestamp=dict(type="str", required=False),
|
||||
transcode=dict(
|
||||
type="str",
|
||||
choices=["base64", "unbase64", "hex", "unhex"],
|
||||
required=False,
|
||||
),
|
||||
user=dict(type="str", required=False),
|
||||
timestamp=dict(type="str"),
|
||||
transcode=dict(type="str", choices=["base64", "unbase64", "hex", "unhex"]),
|
||||
user=dict(type="str"),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue