# creating a file # https://phoenixnap.com/kb/ansible-create-file # https://docs.ansible.com/ansible/latest/collections/ansible/builtin/file_module.html --- - name: "04 - Playing with Ansible - creating a file" hosts: dev # hosts: localhost # connection: local tasks: - name: Creating an empty file ansible.builtin.file: path: "~/ansible_created_file-01.txt" state: touch ...