mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 14:20:45 +00:00
fix missing tags issue
This commit is contained in:
parent
9455790f75
commit
dd6c9c4a68
@ -1,9 +1,2 @@
|
|||||||
- DEPRECATE
|
|
||||||
- the tag 'skip_ansible_lint' to skip tasks is deprecated
|
|
||||||
use 'skip_ansible_later' instead
|
|
||||||
- ENHANCEMENT
|
|
||||||
- add a non-enforcement rule for deprecated features
|
|
||||||
if you use a custom standards file you may have to enable `check_deprecate`
|
|
||||||
- BUGFIX
|
- BUGFIX
|
||||||
- ANSIBLE0010 - allow `shell` module if `args.executable` is used
|
- fix issue if `tags` is not defined for a task object
|
||||||
as this parameter is no longer support by command module
|
|
||||||
|
@ -11,7 +11,7 @@ def check_deprecated(candidate, settings):
|
|||||||
|
|
||||||
if not errors:
|
if not errors:
|
||||||
for task in tasks:
|
for task in tasks:
|
||||||
if "skip_ansible_lint" in task.get("tags"):
|
if "skip_ansible_lint" in (task.get("tags") or []):
|
||||||
errors.append(
|
errors.append(
|
||||||
Error(
|
Error(
|
||||||
task["__line__"],
|
task["__line__"],
|
||||||
|
Loading…
Reference in New Issue
Block a user