- update to 6.12.1:
* Bugfixes
- Make no-jinja-when also detect list conditions (#2975) @ssbarnea
- Fix exception related to include_tasks (#2974) @ssbarnea
- Allow noqa comments without colons (#2971) @ssbarnea
- update to 6.12.0:
* Minor Changes
- Extend fqcn rule to complain on `collections` keyword (#2825) @jcgruenhage
- Determine if passed arguments are playbooks or not (#2912) @ssbarnea
* Bugfixes
- Avoid caching on role_name regex (#2876) (#2876) @DanInProgress
- Change the way rules are listed from command line (#2940 (#2940) @ssbarnea
- Added example for skip list on command line (#2964) (#2964) @ajinkyau
- Do not install collection locally in offline mode (#2926) (#2926) @jensrudolf
- Improved coverage for empty string compare and galaxy rules (#2963) @ajinkyau
- Add support for Ansible 2.15 (#2960 (#2960) @ssbarnea
- Rename warning[raw-non-string] to no-free-form[raw-non-string] (#2956) @ssbarnea
- Correct run-once rule identifier and related examples (#2952) @ajinkyau
- Fix typo in doc site name (#2954) @utoddl
- Replace sphinx with mkdocs (#2942) @ssbarnea
- Remove rich markdown header override (#2938) @ssbarnea
- Fixing OpenWrt name; Adding OpenWrt 22.03 (#2928) @sscheib
- Ignore args rule finding if value for choice has jinja template (#2929) @klaus-tux
- Allow warnings to be skipped (#2925) @ssbarnea
- Fix spacing in option help strings (#2920) @thomwiggers
- Allow dumping of SARIF files (#2921) @ssbarnea
- Change treatment of files that fail to load structured data (#2919) @ssbarnea
- Fix github archives metadata (#2914) @ssbarnea
- Fix print leak with meta-unsupported-ansible (#2913) @ssbarnea
OBS-URL: https://build.opensuse.org/request/show/1063488
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=22
- update to 6.10.2:
* Bugfixes
- Make git a runtime dependency (#2860) @ssbarnea
- Disable version check when running as a pre-commit hook (#2858) @ssbarnea
- Avoid checking var-names on non ansible files (#2856) @ssbarnea
- update to 6.10.1:
* Bugfixes
- Avoid TypeError NoneType with lookups (#2852) @ssbarnea
- Add the missing github_branch meta field (#2847) @triplepoint
- name[template]: only trigger on word characters after the template (#2836) @evgeni
- Update documentation of `run_once` rule (#2823) @shatakshiiii
- Fix line number on var-naming error for 'register' (#2840) @zigarn
- Add SLES15SP4 to schema (#2841) @johanneskastl
- src/ansiblelint/schemas/meta.json: add openSUSE 15.5 (#2842) @johanneskastl
- Complete schema for Antsibull changelogs (#2834) @shatakshiiii
OBS-URL: https://build.opensuse.org/request/show/1056225
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:ansible/ansible-lint?expand=0&rev=20
- Recognize import_role and import_role when using fqcn (#2034)
- Adds more yamllint configuration paths (#2032)
- Allow normpath accept empty strings (#2028)
Fixes bug where calling ansible-lint with "" as an argument, it will
raise an exception. We can assume that empty string is the same as
".", especially as we also allow no arguments which are almost always
treated as current directory too.
- Remove ref to archived toolbox image from docs (#2026)
- `--write`: Add `MatchError.yaml_path` for transforms (#2025)
- --write: Avoid line-wrapping YAML flow objects (#2022)
- --write: Introduce TransformMixin for Rules (#2023)
- Avoid processing files under templates (#2021)
- Add YAML path (to play/task) discovery utils for Transforms to use (#1970)
- Recognize import_tasks with file key (#2019)
- Allow import_playbook from collections (#2018)
- Use ansible-compat cache directory (#2016)
Ensures that we use the same cache_dir as ansible-compat.
- Update to version 6.0.0:
- Major Changes
- Remove support for ansible 2.9 (#1880) @ssbarnea
- Remove support for py36 and py37 (#1850) @ssbarnea
- Made fqcn-builtins rule implicit (#1908) @ssbarnea
- Removed --parseable-severity feature (#1898) @ssbarnea
- Clarify GPLv3 license of the distribution (#1882) @ssbarnea
- Made ansible-core a direct dependency (#1888) @ssbarnea
- Made yamllint a direct dependency (#1881) @ssbarnea
- Rename prerun submodule to _mockings (#1972) @ssbarnea
- Remove unused code from prerun submodule (#1971) @ssbarnea
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=10
- disable the tests test_co and test_call_from_outside_venv, they expect the ansible-lint executable in /usr/bin/
see https://github.com/ansible-community/ansible-lint/issues/1885
- remove obsolete fix-discover_lintables.patchs
- Update to version 5.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
OBS-URL: https://build.opensuse.org/request/show/954674
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=9
- added python-pyyaml and python-six dependencies as listed in setup.py (L22)
- made the post-build test conditional as requires python2
- update to 3.5.1
+ Use yaml.safe_load for loading the configuration fil
- 3.5.0
+ New ids and tags, add doc generator. Old tag names remain backwardly compatible (awcrosby)
+ Add more package formats to PackageIsNotLatestRule (simon04)
+ Improve handling of meta/main.yml dependencies (MatrixCrawler)
+ Correctly handle role argument trailing slash (zoredache)
+ Handle include_task and import_task (zeot)
+ Add a new rule to detect jinja in when clauses (greg-hellings)
+ Suggest replace as another alternative to sed (inponomarev)
+ YAML syntax highlighting for false positives (gundalow)
OBS-URL: https://build.opensuse.org/request/show/653527
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=5
+ Fix bug with using comma-separated skip_list arguments
+ Allow include_role and import_role (willthames)
+ Support arbitrary number of exclude flags (KellerFuchs)
+ Fix task has name check for empty name fields (ekeih)
+ Allow vault encrypted variables in YAML files (mozz)
+ Octal permission check improvements - readability, test
coverage and bug fixes (willthames)
+ Fix very weird bug with line numbers in some test environments (kouk)
+ Python 3 fixes for octal literals in tests (willthames)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=4
+ Update test that allows directories to have execute but not
read bit set
+ new playbook_import statement is now also recognized
+ Allow directories to have execute but not read bit set
+ Update test coverage
+ Fix typos in rules description
+ Fix normal sentence seen as title
+ ansible-lint accepts multiple playbooks in cmdlne
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=3
- updated to latest release 3.4.20
+ fixed rpm check build to use only python2 for now
+ Fix for Python 2.6
+ added stdin to expected vars for command module
+ added testcase
+ made test >2.4 specific
+ fixed wrong test-playbook
+ Adding feature for issue #283, adding the ability to use a .ansible-lint
yaml configuration file in the working directory instead of command line
arguments.
+ Adding CLI flag for specifying configuration file. Also adding guard
test to confirm that configuration file properties can be overriden by
command line.
+ Adding 'merge' behavior to config file and CLI options. The 'True'
value will be preferred in the case of simple flags, while lists will be
merged.
+ Fixing 3.4 issue with errs not able to be concatenated with a string
+ Clarifying that -F is a path to file in the documentation. Also
expanding unnecessarily contracted line
+ Updating config file to use -c to make it clear it is a configuration
file being specified.
+ added include_tasks and import_tasks to utils
+ updated example rule
+ Add supervisorctl and systemd module support
+ Add template/lineinfile module support
+ Although how bin/ansible-lint works has changed significantly,
it should still exist so docs are accurate and for testing.
+ Handle the 'cmd' argument in command/shell
OBS-URL: https://build.opensuse.org/request/show/568211
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ansible-lint?expand=0&rev=2