mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -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
|
@ -24,6 +24,8 @@ options:
|
|||
description:
|
||||
- A name or a list of names of the packages.
|
||||
required: yes
|
||||
type: list
|
||||
elements: str
|
||||
state:
|
||||
description:
|
||||
- C(present) will make sure the package is installed.
|
||||
|
@ -31,6 +33,7 @@ options:
|
|||
C(absent) will make sure the specified package is not installed.
|
||||
choices: [ absent, latest, present ]
|
||||
default: present
|
||||
type: str
|
||||
build:
|
||||
description:
|
||||
- Build the package from source instead of downloading and installing
|
||||
|
@ -38,25 +41,26 @@ options:
|
|||
Automatically builds and installs the 'sqlports' package, if it is
|
||||
not already installed.
|
||||
type: bool
|
||||
default: 'no'
|
||||
default: no
|
||||
ports_dir:
|
||||
description:
|
||||
- When used in combination with the C(build) option, allows overriding
|
||||
the default ports source directory.
|
||||
default: /usr/ports
|
||||
type: path
|
||||
clean:
|
||||
description:
|
||||
- When updating or removing packages, delete the extra configuration
|
||||
file(s) in the old packages which are annotated with @extra in
|
||||
the packaging-list.
|
||||
type: bool
|
||||
default: 'no'
|
||||
default: no
|
||||
quick:
|
||||
description:
|
||||
- Replace or delete packages quickly; do not bother with checksums
|
||||
before removing normal files.
|
||||
type: bool
|
||||
default: 'no'
|
||||
default: no
|
||||
notes:
|
||||
- When used with a `loop:` each package will be processed individually,
|
||||
it is much more efficient to pass the list directly to the `name` option.
|
||||
|
@ -513,7 +517,7 @@ def upgrade_packages(pkg_spec, module):
|
|||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec=dict(
|
||||
name=dict(type='list', required=True),
|
||||
name=dict(type='list', elements='str', required=True),
|
||||
state=dict(type='str', default='present', choices=['absent', 'installed', 'latest', 'present', 'removed']),
|
||||
build=dict(type='bool', default=False),
|
||||
ports_dir=dict(type='path', default='/usr/ports'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue