Skip to content

Commit

Permalink
docs: replace wrong occurrences of ignore_list with skip_list in rules (
Browse files Browse the repository at this point in the history
  • Loading branch information
karras authored and davedittrich committed Sep 6, 2022
1 parent 8ca52f8 commit 4d8d365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ansiblelint/rules/name.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This rule can produce messages such:
- `name[play]` - All plays should be named.

If you want to ignore some of the messages above, you can add any of them to
the `ignore_list`.
the `skip_list`.

## Problematic code

Expand Down
8 changes: 4 additions & 4 deletions src/ansiblelint/rules/syntax_check.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ loaded by Ansible. This is often achieved by editing the inventory file and/or
If undefined variables cause the failure, you can use the jinja
`default()` filter to provide fallback values, like in the example below.

This rule is among the few `unskippable` rules that cannot be added
to `ignore_list` or `warn_list`. One possible workaround is to add the entire
file to the `exclude_list`. This is a valid approach for special cases, like
testing fixtures that are invalid on purpose.
This rule is among the few `unskippable` rules that cannot be added to
`skip_list` or `warn_list`. One possible workaround is to add the entire file
to the `exclude_list`. This is a valid approach for special cases, like testing
fixtures that are invalid on purpose.

One of the most common sources of errors is failure to assert the presence of
various variables at the beginning of the playbook.
Expand Down

0 comments on commit 4d8d365

Please sign in to comment.