---
- name: Create a file
  hosts: localhost
  vars:
   file_name: kramer
  
  tasks:
  - name: Create file in /tmp
    file:
     state: touch
     path: /tmp”{{ file_name }}”.txt
