chore(deps): update dependency ansible-lint to v5
This MR contains the following updates:
Package | Update | Change |
---|---|---|
ansible-lint (changelog) | major |
==4.3.7 -> ==5.4.0
|
Release Notes
ansible/ansible-lint (ansible-lint)
v5.4.0
Minor Changes
- Neuter min space requirement for inline comments (#1821) @ssbarnea
- Allow rules to request original raw task data (#1834) @cognifloyd
- Add utils.nested_items_path and Deprecate utils.nested_items (#1824) @cognifloyd
- MatchError's should include the filename (#1806) @cognifloyd
Bugfixes
- Allow use without activation of virtualenv (#1860) @ssbarnea
- Avoid running code on ansiblelint.config import (#1870) @ssbarnea
- Avoid false positive with git lfs command (#1859) @ssbarnea
- Strip ./ from discover_lintables results (#1837) @sebix
- Correcting formatting of sample .ansible-lint config (#1841) @IronTooch
- Move ansiblelint.testing.RunFromText import into test code (#1827) @cognifloyd
- Allow noqa to be used in more lintable kinds (#1819) @SirUli
- Recursively extract tasks from blocks (#1809) @cognifloyd
v5.3.2
Bugfixes
- Allow rpm --nodeps command-instead-of-module (#1786) @bluikko
- Make code compatible with rich 11 (#1797) @rabi
- Make -q and -qq silence ANSIBLE_DEVEL_WARNING (#1785) @relrod
v5.3.1
Bugfixes
v5.3.0
Minor Changes
- Remove setup.py (#1762) @ssbarnea
- Add missing type and parameter in custom-rules docs (#1764) @SIPR-octo
- Set a logo in the Sphinx docs (#1760) @webknjaz
- Add HOME to safe env vars (#1759) @azuwis
Bugfixes
- Make exclude files work with progressive mode (#1767) @clementmartin
- Avoid errors processing symlinked files (#1770) @ssbarnea
- Fix mypy failures on file_utils.py (#1768) @clementmartin
- "internal-error" description text typo correction (#1752) @charltonstanley
v5.2.1
Bugfixes
- Accept yum clean as a valid command (#1747) @konstruktoid
- Actually ignore the 'fatal: not a git repository' error (#1738) @ubschmidt2
- Add support for py310 (#1734) @ssbarnea
Kudos goes to: @AleksaC, @konstruktoid, @pre-commit-ci, @pre-commit-ci[bot], @ssbarnea and @ubschmidt2
v5.2.0
Minor Changes
- Make core extra use ansible-core (#1720) @ssbarnea
Bugfixes
- Expand coverage of path globbing (#1709) @greg-hellings
- Prevent parseable option from changing JSON output format (#1730) @ssbarnea
- improve grammar (#1724) @ToBeFree
- no-changed-when: improve testing and documentation (#1706) @konstruktoid
- Minor fixes on documentation pages (#1719) @pabluk
Kudos goes to: @ToBeFree, @greg-hellings, @konstruktoid, @pabluk and @ssbarnea
v5.1.3
Bugfixes
- Use force for ansible-galaxy install commands (#1704) @ssbarnea
- Ensure hints are not displayed on quiet mode (#1684) @sbaudoin
- Rename master branch to main (#1683) @ssbarnea
- var-spacing: fix multiline nested JSON false positive (#1672) @simonkeyd
Kudos goes to: @Porkepix, @jslmorrison, @sbaudoin, @simonkeyd, @ssbarnea and @webknjaz
v5.1.2
Bugfixes
- Fix execution outside git repositories (#1675) @ssbarnea
Kudos goes to: @ssbarnea
v5.1.1
Bugfixes
- Assure variable naming rule always use a pattern (#1667) @ssbarnea
- fix: guess project root dir with git, config file and cwd (#1661) @xabinapal
- fix: improve git file discovery with untracked and removed files (#1650) @xabinapal
- Improve install_collection implementation (#1637) @ssbarnea
- Constrain inventory file location (#1635) @ssbarnea
Kudos goes to: @pre-commit-ci, @pre-commit-ci[bot], @ssbarnea and @xabinapal
v5.0.12
Changes
Bugfixes
- Document syntax-check as unskippable (#1606) @ssbarnea
- Fail NoLogPassword only when loops are used (#1590) @noonedeadpunk
- Allow use of ansible debug mode (#1604) @ssbarnea
- Fixed typo in .ansible-lint (#1600) @ssbarnea
- Remove include missing file rule (#1599) @ssbarnea
v5.0.11
Changes
Bugfixes
- Avoid false positive with no-handler (#1582) @konstruktoid
- Fixes false positive with deprecated-bare-vars (#1583) @ssbarnea
- Normalize action names using builtins (#1581) @ssbarnea
- Make command instead of shell rule recognize fqcn (#1580) @ssbarnea
- Fix 32 exclude paths limit (#1578) @ssbarnea
- Disable comments-indentation yamllint rule (#1572) @ssbarnea
v5.0.10
Changes
Minor Changes
- Add rule for variable naming (#1518) @ssbarnea
- Refactor MissingFilePermissionsRule testing (#1568) @konstruktoid
Bugfixes
- Fix exclude bug running outside git repos (#1570) @ssbarnea
- Make risky-file-permissions rule does not ignore FQCN (#1563) @ssato
- Switch cache to user cache folder (#1567) @ssbarnea
- Add metadata tag to the role-name rule (#1564) @noonedeadpunk
- NoLogPasswordsRule: catch password_lock false positives and migrate tests (#1562) @konstruktoid
v5.0.9
Changes
Minor Changes
- Add rule for checking no_log is set when passwords are used (#1558) @noonedeadpunk
- Rename get_yaml_files to discover_lintables (#1550) @ssbarnea
- Fix mypy issue with callable (#1553) @ssbarnea
Bugfixes
- Improve file detection outside git repositories (#1557) @ssbarnea
- Ensure line and column numbers start with 1 (#1556) @ssbarnea
- Ignore empty env variable values when updating them (#1552) @tadeboro
- Add Ansible check mode exception to IgnoreErrorsRule (#1548) @alessfg
v5.0.8
Changes
Minor Changes
- Add support for acceptable command options (#1544) @ssbarnea
- Allow user to make yamllint rule mandatory (#1543) @ssbarnea
- Add new rule that detects use of blind ignore_errors: true (#1540) @konstruktoid
- Validate rules objects loaded from plugin rule modules (#1542) @ssato
- Allow configurations for each rule stored in ansiblelint.config.options (#1534) @ssato
- Add a py.typed file (#1536) @h-hirokawa
- Utilize yamllint severity levels for rule severity (#1530) @FloSchwalm
- change: add file: Lintable argument to <rule_class>.match{,task} methods (#1535) @ssato
- Avoid duplicating molecule requirements.yml files (#1521) @apatard
- Mention pipx as alternative installer (#1520) @ssbarnea
Bugfixes
- Update installing.rst (#1529) @iomarcovalente
- Ignore files from inside templates/ (#1524) @ssbarnea
- Ensure that the role file is not a file (#1522) @apatard
- Fixed docs edit links (#1525) @ssbarnea
v5.0.7
Changes
Minor Changes
- Retry prepare environment three times before failing (#1517) @ssbarnea
Bugfixes
- Fix role name handling in prerun.py (#1490) @apatard
- Fix meta-incorrect rule to report correctly (#1515) @ssbarnea
v5.0.6
Changes
Bugfixes
- Add ability to ignore jinja2 templates (#1494) @ssbarnea
- Fix MetaMainHasInfoRule when running from meta dir (#1493) @Udyrfrykte
v5.0.5
Changes
Minor Changes
- Enable prepare_environment to be used without cli (#1488) @ssbarnea
- Make prerun module public (#1483) @ssbarnea
- Clarify that verbosity can be incremented (#1478) @ssbarnea
Bugfixes
- Fix prerun role-name message (#1486) @ssbarnea
- Fix install galaxy role warning message (#1484) @apatard
- Assure project_dir is always valid (#1482) @ssbarnea
- Add .cache folder to default exclude list (#1479) @ssbarnea
- Improve empty-string-compare rule (#1480) @ssbarnea
- Remove one false positive on pipe-fail rule (#1477) @ssbarnea
- Avoid warnings when not running inside git repos (#1475) @ssbarnea
- Asure matchtasks is runs on supported file kinds (#1474) @ssbarnea
v5.0.4
Changes
Minor Changes
- Add ability to recognize base file types (#1461) @ssbarnea
- Make use of newer sphinx programoutput extension (#1458) @ssbarnea
- Avoid pre-run errors when role-name is disabled (#1459) @ssbarnea
Bugfixes
- Allow user to extend kinds without overriding defaults (#1473) @ssbarnea
- fix: flake8 error on mocked modules (#1472) @chilicheech
- Fixed matching patterns used for mocking (#1470) @ssbarnea
- Updated docs on communication channels (#1469) @ssbarnea
- Fix typo in configuration filename (#1466) @stoned
- Avoid exception when git is missing (#1456) @ssbarnea
v5.0.3
Changes
Minor Changes
- Improve risky-shell-pipe rule matching (#1453) @ssbarnea
- Add optional rule that check for no-same-owner (#1450) @ssbarnea
- Allow user to specify namespace for standalone roles (#1451) @ssbarnea
- Add downstream testing pipeline (#1434) @ssbarnea
Bugfixes
- Undeprecate numeric rule tags (#1452) @ssbarnea
- Avoid reporting loading errors with vaulted files (#1443) @ssbarnea
v5.0.2
Changes
- Update links to Ansible docs for new site layout (#1382) @ripleymj
Minor Changes
- Add ability to install v1 requiremets.yml (#1385) @ssbarnea
Bugfixes
- Fix installation of standalone roles (#1397) @ssbarnea
- Rewrite ansible version checking (#1383) @ssbarnea
- Improve ansible version check (#1381) @ssbarnea
- Disable action validation with tasks by default (#1377) @ssbarnea
- Add ability to detect molecule base.yml configs (#1374) @ssbarnea
- Fix file config extra_vars options loading (#1372) @skarzi
- Avoid same false positives with no-tabs rule (#1373) @ssbarnea
- Recognize collections.yml files (#1371) @ssbarnea
- Avoid reporting runtime errors with unknown file types (#1370) @ssbarnea
v5.0.1
Changes
Minor Changes
- Remove obsolete changelog (#1362) @ssbarnea
- Adds experimental stdin support (#1355) @ssbarnea
- support extra_vars in syntax check rule (#1342) @skarzi
- Avoid duplicates when injecting extra ansible lookup paths (#1348) @joren485
- Fix sentence in usage.rst (#1347) @joren485
Bugfixes
- Recognize standalone galaxy roles (#1363) @ssbarnea
- Avoid overriding role paths defaults (#1361) @ssbarnea
- Fix patterns used to identify var files (#1360) @ssbarnea
- Fix environment variable name check in for loop (#1352) @joren485
- Ensure that yamllint config ignore entries are used (#1346) @felixfontein
- Fix parsing of unicode filenames reported by git ls-files (#1339) (#1340) @phihos
- Correct skip tag for yamllint (#1335) @ssbarnea
- Fix literal-compare test with when sequences (#1332) @ssbarnea
v5.0.0
Changes
This is a major new version that will surely break for users that have custom rules. It will also require most users to update the way they install the linter as they now need to mention which version of Ansible they want to use it with.
For guidance regarding upgrading please read the docs and consult https://github.com/ansible-community/ansible-lint/discussions/1150
Please note that the changes listed before do not contain those from the pre-releases made since last stable release, read all.
Minor Changes
- Allow mocking of galaxy roles (#1320) @ssbarnea
- Add ability to mock roles from within collections (#1318) @ssbarnea
- Add offline mode for skipping requirements installation (#1319) @ssbarnea
- Add ability to mock modules from collections (#1316) @ssbarnea
- Add codeclimate formatter (json) (#1308) @thushjandan
- Make all rule identifiers text based (#1306) @ssbarnea
- Drop E suffix when printing rule id (#1305) @ssbarnea
- Add optional rule to check for loop var prefix (#1303) @ssbarnea
- Add ability to mock roles (#1304) @ssbarnea
- Recurse inside given folders (#1302) @ssbarnea
Bugfixes
- Avoid role-name errors with galaxy roles (#1321) @ssbarnea
- Avoid false positives with literal-compare (#1315) @ssbarnea
- Fix exclude_paths regression (#1313) @ssbarnea
- Avoid exceptions post syntax errors (#1310) @ssbarnea
- E206: Avoid false positives with multilines (#1300) @ssbarnea
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.