We have the need to run ansible from cron as root (to ensure the 'ansible' 
user exists on all remote hosts and its key is present in authorized_keys) 
as well as the the 'ansible' user.


The problem is that when root sources ./hacking/env-setup, the directory 
lib/ansible.egg-info/ becomes owned by root and the ansible user can no 
longer run the ./hacking/env-setup without getting permission errors.


Is there a better way to have this work than maintaining two separate 
versions of the source code?


Thanks,

Matt

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/40c5565b-cc6f-4238-9136-d2184650e443%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to