diff options
Diffstat (limited to 'examples/playbooks/rule-avoid-implicit-fail.yml')
-rw-r--r-- | examples/playbooks/rule-avoid-implicit-fail.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/playbooks/rule-avoid-implicit-fail.yml b/examples/playbooks/rule-avoid-implicit-fail.yml new file mode 100644 index 0000000..ceaaeb4 --- /dev/null +++ b/examples/playbooks/rule-avoid-implicit-fail.yml @@ -0,0 +1,9 @@ +--- +- name: Example playbook + hosts: localhost + tasks: + - name: Write file content + ansible.builtin.copy: + content: { "foo": "bar" } # <-- avoid-implicit[copy-content] + dest: /tmp/foo.txt + mode: "0600" |