Copy to local

I am trying to write a file to my local machine with a dynamic inventory. I am running the following script in Ansible Tower:

for tower issues please email support@ansible.com or go to http://support.ansible.com.