blob: 638572f783fb9077e3d5ca39ceade2ce6979f954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: Create a file in /root/ called toto with content tata
hosts: all
become: true
tasks:
- name: Ensure /root/toto exists with content "tata"
ansible.builtin.copy:
dest: /root/toto
content: "tata"
owner: root
group: root
mode: '0644'
...
|