mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -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
|
@ -422,17 +422,17 @@ def autoremove_packages(module, run_pkgng):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
state=dict(default="present", choices=["present", "latest", "absent"], required=False),
|
||||
state=dict(default="present", choices=["present", "latest", "absent"]),
|
||||
name=dict(aliases=["pkg"], required=True, type='list', elements='str'),
|
||||
cached=dict(default=False, type='bool'),
|
||||
ignore_osver=dict(default=False, required=False, type='bool'),
|
||||
annotation=dict(required=False, type='list', elements='str'),
|
||||
pkgsite=dict(required=False),
|
||||
rootdir=dict(required=False, type='path'),
|
||||
chroot=dict(required=False, type='path'),
|
||||
jail=dict(required=False, type='str'),
|
||||
ignore_osver=dict(default=False, type='bool'),
|
||||
annotation=dict(type='list', elements='str'),
|
||||
pkgsite=dict(),
|
||||
rootdir=dict(type='path'),
|
||||
chroot=dict(type='path'),
|
||||
jail=dict(type='str'),
|
||||
autoremove=dict(default=False, type='bool'),
|
||||
use_globs=dict(default=True, required=False, type='bool'),
|
||||
use_globs=dict(default=True, type='bool'),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
mutually_exclusive=[["rootdir", "chroot", "jail"]])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue