1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Reduce ignored files sanity tests (#639)

* Remove all files ignores to see errors

* Fix

* Revert archive.py as its change should be discussed in another PR

* Ignore archive.py

* Revert xml

* Fix
This commit is contained in:
Amin Vakil 2020-07-12 02:52:15 +04:30 committed by GitHub
parent 7f76d8aff4
commit b31de003bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 6 deletions

View file

@ -46,6 +46,7 @@ options:
- A list of files to extract from the image.
- Extracting directories does not work.
type: list
elements: str
required: yes
force:
description:
@ -99,7 +100,7 @@ def main():
argument_spec=dict(
image=dict(type='path', required=True, aliases=['path', 'src']),
dest=dict(type='path', required=True),
files=dict(type='list', required=True),
files=dict(type='list', elements='str', required=True),
force=dict(type='bool', default=True, aliases=['thirsty']),
executable=dict(type='path'), # No default on purpose
),

View file

@ -39,6 +39,7 @@ options:
- A list of field names for every column.
- This is needed if the CSV does not have a header.
type: list
elements: str
unique:
description:
- Whether the C(key) used is expected to be unique.
@ -164,7 +165,7 @@ def main():
path=dict(type='path', required=True, aliases=['filename']),
dialect=dict(type='str', default='excel'),
key=dict(type='str'),
fieldnames=dict(type='list'),
fieldnames=dict(type='list', elements='str'),
unique=dict(type='bool', default=True),
delimiter=dict(type='str'),
skipinitialspace=dict(type='bool'),

View file

@ -648,8 +648,6 @@ plugins/modules/database/vertica/vertica_user.py validate-modules:undocumented-p
plugins/modules/files/archive.py use-argspec-type-path # fix needed
plugins/modules/files/archive.py validate-modules:parameter-list-no-elements
plugins/modules/files/iso_extract.py validate-modules:doc-default-does-not-match-spec
plugins/modules/files/iso_extract.py validate-modules:parameter-list-no-elements
plugins/modules/files/read_csv.py validate-modules:parameter-list-no-elements
plugins/modules/files/xml.py validate-modules:doc-required-mismatch
plugins/modules/files/xml.py validate-modules:parameter-list-no-elements
plugins/modules/identity/ipa/ipa_hbacrule.py validate-modules:doc-elements-mismatch

View file

@ -648,8 +648,6 @@ plugins/modules/database/vertica/vertica_user.py validate-modules:undocumented-p
plugins/modules/files/archive.py use-argspec-type-path # fix needed
plugins/modules/files/archive.py validate-modules:parameter-list-no-elements
plugins/modules/files/iso_extract.py validate-modules:doc-default-does-not-match-spec
plugins/modules/files/iso_extract.py validate-modules:parameter-list-no-elements
plugins/modules/files/read_csv.py validate-modules:parameter-list-no-elements
plugins/modules/files/xml.py validate-modules:doc-required-mismatch
plugins/modules/files/xml.py validate-modules:parameter-list-no-elements
plugins/modules/identity/ipa/ipa_hbacrule.py validate-modules:doc-elements-mismatch