summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-yaml-pass.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/rule-yaml-pass.yml')
-rw-r--r--examples/playbooks/rule-yaml-pass.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/playbooks/rule-yaml-pass.yml b/examples/playbooks/rule-yaml-pass.yml
new file mode 100644
index 0000000..497471a
--- /dev/null
+++ b/examples/playbooks/rule-yaml-pass.yml
@@ -0,0 +1,7 @@
+---
+# yamllint disable rule:truthy
+- name: Fixture for yaml rule testing ability to use disable comments
+ hosts: localhost
+ tasks: []
+ become: yes # <-- allowed only due to comment above
+# yamllint enable rule:truthy