blob: ceaaeb4196df15ea536adac1a091dc310d5ffe65 (
plain)
1
2
3
4
5
6
7
8
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"
|