mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40: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
|
@ -24,12 +24,15 @@ options:
|
|||
description:
|
||||
- Name of the snap to install or remove. Can be a list of snaps.
|
||||
required: true
|
||||
type: list
|
||||
elements: str
|
||||
state:
|
||||
description:
|
||||
- Desired state of the package.
|
||||
required: false
|
||||
default: present
|
||||
choices: [ absent, present ]
|
||||
type: str
|
||||
classic:
|
||||
description:
|
||||
- Confinement policy. The classic confinement allows a snap to have
|
||||
|
@ -38,7 +41,7 @@ options:
|
|||
This option can only be specified if there is a single snap in the task.
|
||||
type: bool
|
||||
required: false
|
||||
default: False
|
||||
default: no
|
||||
channel:
|
||||
description:
|
||||
- Define which release of a snap is installed and tracked for updates.
|
||||
|
@ -233,7 +236,7 @@ def execute_action(module):
|
|||
|
||||
def main():
|
||||
module_args = {
|
||||
'name': dict(type='list', required=True),
|
||||
'name': dict(type='list', elements='str', required=True),
|
||||
'state': dict(type='str', required=False, default='present', choices=['absent', 'present']),
|
||||
'classic': dict(type='bool', required=False, default=False),
|
||||
'channel': dict(type='str', required=False, default='stable'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue