diff options
Diffstat (limited to '')
-rw-r--r-- | .ansible-lint | 10 | ||||
-rw-r--r-- | .ansible-lint-ignore | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.ansible-lint b/.ansible-lint index 3530086..4e92c01 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -76,7 +76,7 @@ warn_list: # - yaml[document-start] # you can also use sub-rule matches # Some rules can transform files to fix (or make it easier to fix) identified -# errors. `ansible-lint --write` will reformat YAML files and run these transforms. +# errors. `ansible-lint --fix` will reformat YAML files and run these transforms. # By default it will run all transforms (effectively `write_list: ["all"]`). # You can disable running transforms by setting `write_list: ["none"]`. # Or only enable a subset of rule transforms by listing rules/tags here. @@ -118,3 +118,11 @@ kinds: # Allow setting custom prefix for name[prefix] rule task_name_prefix: "{stem} | " +# Complexity related settings + +# Limit the depth of the nested blocks: +# max_block_depth: 20 + +# Also recognize these versions of Ansible as supported: +# supported_ansible_also: +# - "2.14" diff --git a/.ansible-lint-ignore b/.ansible-lint-ignore index dae2afe..ca26ee7 100644 --- a/.ansible-lint-ignore +++ b/.ansible-lint-ignore @@ -1,3 +1,3 @@ -# See https://ansible-lint.readthedocs.io/configuring/#ignoring-rules-for-entire-files +# See https://ansible.readthedocs.io/projects/lint/configuring/#ignoring-rules-for-entire-files playbook2.yml package-latest # comment playbook2.yml foo-bar |