- name: create test file ansible.builtin.template: src: testfile.j2 dest: /tmp/testfile.txt