mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Reduce ignored packaging sanity tests (#568)
* Remove all packaging sanity tests to see errors * fix * Fix * Minor fixes * Fix * Fix redhat * Fix redhat_subscription * Fix redhat_subscription * Fix redhat_subscription * Ignore redhat_subscription return-syntax-error * Remove more ignored sanity tests * Remove force from xbps argument_spec as it doesn't do anything(?) * Remove unnecessary sanity test for xbps * Fix suggestions made by felixfontein * Better changelog description, fix portage wrong default values * Fix * Fix * Remove root default from urpmi doc * Fix wrong type of default for booleans * Add default value as suggested by felixfontein * Fix changelog
This commit is contained in:
parent
99b7573dfb
commit
72ca27a6ae
36 changed files with 259 additions and 246 deletions
|
@ -22,34 +22,38 @@ options:
|
|||
- A list of package names to install, upgrade or remove.
|
||||
required: yes
|
||||
aliases: [ package, pkg ]
|
||||
type: list
|
||||
elements: str
|
||||
state:
|
||||
description:
|
||||
- Indicates the desired package state.
|
||||
choices: [ absent, present ]
|
||||
default: present
|
||||
type: str
|
||||
update_cache:
|
||||
description:
|
||||
- Update the package database first C(urpmi.update -a).
|
||||
type: bool
|
||||
default: 'no'
|
||||
default: no
|
||||
aliases: ['update-cache']
|
||||
no-recommends:
|
||||
description:
|
||||
- Corresponds to the C(--no-recommends) option for I(urpmi).
|
||||
type: bool
|
||||
default: 'yes'
|
||||
aliases: ['no-recommends']
|
||||
default: yes
|
||||
aliases: ['no_recommends']
|
||||
force:
|
||||
description:
|
||||
- Assume "yes" is the answer to any question urpmi has to ask.
|
||||
Corresponds to the C(--force) option for I(urpmi).
|
||||
type: bool
|
||||
default: 'yes'
|
||||
default: yes
|
||||
root:
|
||||
description:
|
||||
- Specifies an alternative install root, relative to which all packages will be installed.
|
||||
Corresponds to the C(--root) option for I(urpmi).
|
||||
default: /
|
||||
aliases: [ installroot ]
|
||||
type: str
|
||||
author:
|
||||
- Philippe Makowski (@pmakowski)
|
||||
'''
|
||||
|
@ -189,12 +193,12 @@ def root_option(root):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
state=dict(type='str', default='installed',
|
||||
state=dict(type='str', default='present',
|
||||
choices=['absent', 'installed', 'present', 'removed']),
|
||||
update_cache=dict(type='bool', default=False, aliases=['update-cache']),
|
||||
force=dict(type='bool', default=True),
|
||||
no_recommends=dict(type='bool', default=True, aliases=['no-recommends']),
|
||||
name=dict(type='list', required=True, aliases=['package', 'pkg']),
|
||||
name=dict(type='list', elements='str', required=True, aliases=['package', 'pkg']),
|
||||
root=dict(type='str', aliases=['installroot']),
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue