summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-no-tabs.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:57 +0000
commit1faea9a6c75f33109e8f66b57b432fdad57b3f46 (patch)
tree4184ce38ac0cf9d5a46bbbae03c87be82927f12b /examples/playbooks/rule-no-tabs.yml
parentAdding upstream version 6.17.2. (diff)
downloadansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.tar.xz
ansible-lint-1faea9a6c75f33109e8f66b57b432fdad57b3f46.zip
Adding upstream version 24.6.1.upstream/24.6.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/playbooks/rule-no-tabs.yml')
-rw-r--r--examples/playbooks/rule-no-tabs.yml19
1 files changed, 18 insertions, 1 deletions
diff --git a/examples/playbooks/rule-no-tabs.yml b/examples/playbooks/rule-no-tabs.yml
index 4621096..3078e22 100644
--- a/examples/playbooks/rule-no-tabs.yml
+++ b/examples/playbooks/rule-no-tabs.yml
@@ -16,5 +16,22 @@
- name: Should not trigger no-tabs rules # noqa fqcn
lineinfile:
path: some.txt
- regexp: ^\t$
+ regexp: "^\t$"
line: string with \t inside
+ # Disabled as attempt to mock it would trigger an error validating its arguments
+ # - name: Should not trigger no-tabs rules # noqa fqcn
+ # win_lineinfile:
+ # path: some.txt
+ # regexp: "^\t$"
+ # line: string with \t inside
+ - name: Should not trigger no-tabs rules
+ community.windows.win_lineinfile:
+ path: some.txt
+ regexp: "^\t$"
+ line: string with \t inside
+ - name: Should not trigger inside jinja
+ vars:
+ deep:
+ "some{{ '\t' }}stuff": true
+ ansible.builtin.debug:
+ msg: "{{ 'foo' + '\t' + 'bar' }}"