From feb7510cc7728defb4063f4f8188f2192422c0a3 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Sat, 10 Feb 2024 18:03:56 +0100 Subject: [PATCH] feat: ansible-lint ignore file example --- examples/dotfiles/.ansible-lint-ignore | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/dotfiles/.ansible-lint-ignore diff --git a/examples/dotfiles/.ansible-lint-ignore b/examples/dotfiles/.ansible-lint-ignore new file mode 100644 index 0000000..3671556 --- /dev/null +++ b/examples/dotfiles/.ansible-lint-ignore @@ -0,0 +1,12 @@ +################################################################################ +## '.ansible-lint-ignore' or '.config/ansible-lint-ignore.txt' +## +## List of tags per file for ansible-lint to ignore. +## +## Sources: +## - https://ansible.readthedocs.io/projects/lint/configuring/#ignoring-rules-for-entire-files +## - https://ansible.readthedocs.io/projects/lint/usage/#using-commands +################################################################################ + +playbook.yml package-latest # disables the 'package-latest' rule for the 'playbook.yml' file only +playbook-2.yml deprecated-module # disables the 'deprecated-module' rule for the 'playbook-2.yml' file only