Hi there! I want to use git-project in Ansible tower. I successfully 
created Git Project and template based on role /roles/mytest/. However I 
dont want to store  /roles/mytest/files in the github, so I created  
/roles/mytest/files/.gitignore. 

Then I created manually file test.txt in the folder 
/var/lib/awx/projects/_8__test_git/roles/mytest/files/. Then I start 
playbook:

- name: list files
  local_action: command ls -Ra ./
  register: zzz

- name: debug
  debug:
    msg: "{{zzz.stdout_lines}}"

Unfortunally, file test.txt wasn't found in result list. What can I do? I 
want to use git, but I dont want to store any folders (such as /files/, 
etc) in the git. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/d5970853-905e-4f62-beda-daf5e91abb2fn%40googlegroups.com.

Reply via email to