Update dependency ansible-lint to v6
This MR contains the following updates:
Package | Update | Change |
---|---|---|
ansible-lint | major |
5.4.0 -> 6.2.2
|
Release Notes
ansible-community/ansible-lint
v6.2.2
Bugfixes
- Accept
shell
whenexecutable
is set (#2176) @nkakouros - Updated JSON Schemas (#2177) @ssbarnea
- Avoid runtime warnings from ansible-playbook --syntax-check (#2167) @ssbarnea
- Fix duplicated is_nested_task() (#2162) @nishipy
v6.2.1
Bugfixes
- Avoid using meta schema on ansible-test integration tests (#2156) @felixfontein
- Update schemas (#2158, #2160) @ssbarnea
v6.2.0
Minor Changes
- Add rule to check key order (#2108) @jeefberkey
- Improve yamllint messages and documentation (#2148) @ssbarnea
- Convert rules documentation to markdown (#2144) @ssbarnea
- schema: enable validation of playbook and tasks files (#2133) @ssbarnea
- schema: add validation of argument_specs.yml files (#2131) @ssbarnea
- schema: add support for ansible-navigator config files (#2128) @ssbarnea
- schema: add ability to recognize ansible-lint config files (#2127) @ssbarnea
- schema: add ability to recognize yaml inventory files (#2126) @ssbarnea
- schema: add ability to recognize meta/runtime.yml files (#2125) @ssbarnea
- schema: add support for execution-environments (#2124) @ssbarnea
Bugfixes
- Properly raise load-failure when utf-8 decoding fails (#2152) @ssbarnea
- Fix codeclimate description output (#2149) @ssbarnea
- Recognize tower requirements.txt files (#2147) @ssbarnea
- Bump test dependencies (#2145) @ssbarnea
- Update to append skipped rules for nested task (#2113) @nishipy
- Convert main README to markdown (#2141) @ssbarnea
- Include schemas inside the wheel (#2142) @ssbarnea
- Convert documentation to markdown (#2137) @ssbarnea
- Change custom yamllint config logging to debug (#2139) @ssbarnea
- Update JSON Schemas (#2138 #2146) @ssbarnea
- Avoid altering PATH when not needed (#2129) @ssbarnea
- Fix offline mode (#2115) @ssbarnea
- Allow use of empty files as valid config files (#2119) @ssbarnea
v6.1.0
Minor Changes
- Implement JSON Schema verification for several known file types (#2035) @ssbarnea
- Improve cli argument handling (#2099) @ziegenberg
- Add no-prompting rule as experimental (#2093) @ziegenberg
- Add only-builtins rule to check compatibility with core (#2060) @evgeni
- Add native SARIF output support (#2062) @yongyan-gh
- --write: Optionally pass rule names to --write in cli (#2051) @cognifloyd
- --write: Allow Transforms to mark MatchErrors as fixed (#2041) @cognifloyd
Bugfixes
- Fix support for block tasks in unnamed-task rule (#2107) @nishipy
- Make sure all tasks get evaluated by matchtask including block/always/rescue and nested tasks (#2031) @nishipy
- Ensure tags are escaped when printed (#2096) @ssbarnea
- Detect role argument_specs files as a lintable kind (#2091) @ziegenberg
- Fix var-naming rule to show line numbers and apply noqa (#2090) @notok
- --write: Do not rewrite zero 0 as octal 00 (#2092) @ziegenberg
- Relax the yamllint rules on spaces inside braces for flow mappings (#2077) @ziegenberg
- Update test and typing deps and remove special code paths for py < 3.8 (#2087) @ziegenberg
- Update package metadata for setuptools (#2086) @ziegenberg
- Apply var-spacing tests to vars files (#2063) @notok
- Add philosophy section to the documentation (#2017) @ssbarnea
- Propagate error message to user on systemexit (#2058) @wbh1
- Fix loading ansible-lint.yml in git projects (#2059) @evgeni
v6.0.2
Minor Changes
- --write: Add MatchError.yaml_path for transforms (#2025) @cognifloyd
- --write: Avoid line-wrapping YAML flow objects (#2022) @cognifloyd
- --write: Introduce TransformMixin for Rules (#2023) @cognifloyd
Bugfixes
- Recognize import_role and import_role when using fqcn (#2034) @ssbarnea
- Adds more yamllint configuration paths (#2032) @nkakouros
- Allow normpath accept empty strings (#2028) @ssbarnea
- Remove ref to archived toolbox image from docs (#2026) @erikgb
- Avoid processing files under templates (#2021) @ssbarnea
Note: we used 6.0.2 instead of 6.1.0 because all minor changes including are affecting only the experimental formatting feature and not other product features.
v6.0.1
Bugfixes
- Recognize import_tasks with file key (#2019) @ssbarnea
- Allow import_playbook from collections (#2018) @ssbarnea
- Use only ansible-compat cache directory (#2016) @ssbarnea
v6.0.0
Major Changes
- Remove support for ansible 2.9 (#1880) @ssbarnea
- Made ansible-core 2.12+ as a direct dependency (#1888) @ssbarnea
- Remove support for py36 and py37 (#1850) @ssbarnea
- Made fqcn-builtins rule implicit (#1908) @ssbarnea
- Add support for reformatting YAML files (#1943) @cognifloyd
- Removed --parseable-severity feature (#1898) @ssbarnea
- Clarify GPLv3 license of the distribution (#1882) @ssbarnea
- Made yamllint a direct dependency (#1881) @ssbarnea
- Rename prerun submodule to _mockings (#1972) @ssbarnea
- Remove unused code from prerun submodule (#1971) @ssbarnea
- Change invalid config return code to 3 (#2005) @ssbarnea
Minor Changes
- Add ability to load .config/ansible-lint.yml (#1822) @ssbarnea
- Add json alias for codeclimate formatter (#1942) @ssbarnea
- Use packit to produce rpms for fedora-35 (#1648) @ssbarnea
- Improve version handling (#1931) @ssbarnea
- Add
--write
option for upcoming reformat/transform features (#1926) @cognifloyd - Enable Lintables to be modified (#1884) @cognifloyd
- Improve description of tags (#1896) @ssbarnea
- Remove html extension from documentation (#1981) @ssbarnea
- Minor documentation improvements (#1995) @ssbarnea
- Changed rules to use docstring as shortdesc (#1994) @ssbarnea
- Load rule classes from any modules (#1978) @ssbarnea
Bugfixes
- Apply MissingFilePermissionsRule to get_url module (#1949) @nre-ableton
- Made empty-string-compare rule opt-in (#1953) @ssbarnea
- Prevent KeyError[0] exception with ansible.builtin.include_tasks (#1935) @ssbarnea
- Made no-same-owner recognize fully qualified modules (#1933) @ssbarnea
- Make FQCN import tasks include their relevant files for checking (#1854) @ryaner
- Fix test integration with IDEs (#1914) @ssbarnea
- Remove outdated ruamel-yaml version constraints (#1889) @ssbarnea
- Spellcheck fixes (#1883) @ssbarnea
- Start using ansible-compat (#1958) @ssbarnea
- Fix bug with detection of configured role paths (#2002) @ssbarnea
- Update var-naming to allow names containing jinja2 templates (#1988) @ssbarnea
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by renovate