We install ansible via pip
We can't use the ansible pip module to ensure the desired version is 
installed, as the restrictive umask breaks the permissions on the ansible 
files in /usr/lib/python2.6/site-packages ....
The pip module does not allow us to override the umask

We can use the shell module to elevate to root, change the umask, and pip 
install the desired version however, we can't write that shell command to 
be idempotent. 
The desired version right now is 2.0.0.0-1 but ansible --version and pip 
show both return 2.0.0.0 as the current version when 2.0.0.0-1 is installed

suggestions?  We don't have any access to production so the upgrade must be 
automated via ansible code

-- 
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/01c3a55a-c15b-4971-abe4-14df28cc80a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to