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:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-26 06:24:58 +0000
commitba233a0cbad76b4783a03893e7bf4716fbc0f0ec (patch)
treead369728c1edbe3631c8150585659078ae5d7d0b /examples/playbooks/rule-no-tabs.yml
parentReleasing progress-linux version 6.17.2-3~progress7.99u1. (diff)
downloadansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.tar.xz
ansible-lint-ba233a0cbad76b4783a03893e7bf4716fbc0f0ec.zip
Merging upstream version 24.6.1.
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' }}"