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