summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/strict-mode.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/playbooks/strict-mode.yml')
-rw-r--r--examples/playbooks/strict-mode.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/playbooks/strict-mode.yml b/examples/playbooks/strict-mode.yml
new file mode 100644
index 0000000..a69c428
--- /dev/null
+++ b/examples/playbooks/strict-mode.yml
@@ -0,0 +1,8 @@
+---
+- name: Fixture for test_strict
+ hosts: localhost
+ tasks:
+ - name: Display debug information
+ ansible.builtin.stat:
+ path2: echo "Hello World" # <-- args[module] due to invalid use of path2 instead of path
+ changed_when: false