- hosts: all
connection: local
tasks:
- name: ensure file exists
copy:
content: ""
dest: /home/pim/testje.txt
force: false
group: sys
owner: root
mode: 0555