summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-deprecated-command-syntax.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/playbooks/rule-deprecated-command-syntax.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/playbooks/rule-deprecated-command-syntax.yml b/examples/playbooks/rule-deprecated-command-syntax.yml
new file mode 100644
index 0000000..a7b9807
--- /dev/null
+++ b/examples/playbooks/rule-deprecated-command-syntax.yml
@@ -0,0 +1,7 @@
+---
+- name: Fixture
+ hosts: localhost
+ tasks:
+ - name: Shell with pipe
+ ansible.builtin.command: creates=/tmp/foo touch /tmp/foo
+ changed_when: false