[ansible-project] Ansible, Cloudstack SSL: CERTIFICATE_VERIFY_FAILED - Self Signed Certs.

2018-08-31 Thread sc . celston
Upgrading ansible from 2.3.1.0 causes our Cloudstack provisioning roles to stop working with [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579). The full traceback is: File "/tmp/ansible_eGmrAs/ansible_modlib.zip/ansible/module_utils/cloudstack.py", line 221, in query_ap

Re: [ansible-project] Running Python script, running into /usr/bin/env: No such file or directory

2016-08-11 Thread SC
Thanks for the reply Kai! I took a look at the /etc/default/login file on the Solaris box and it looks like the PATH lines are commented out: # PATH sets the initial shell PATH variable # #PATH=/usr/bin: # SUPATH sets the initial shell PATH variable for root # #SUPATH=/usr/sbin:/usr/bin S

[ansible-project] Importing Python Custom Modules for Ansible to run?

2016-08-11 Thread SC
Probably a silly question, but is it possible to refer to another Python file with the script module? For example, if I have abc.py and 123.py, if I import 123.py into the abc.py python script (if I need some functions or whatever), both of these files are not copied when I call the script modu

Re: [ansible-project] Running Python script, running into /usr/bin/env: No such file or directory

2016-08-11 Thread SC
Really appreciate your reply, it's very informative. I'm still not so familiar with Ansible so it's good to get someone else's take. I put that debug line into the Playbook and got the following output: Non-Solaris "ansible_env": { "CVS_RSH": "ssh", "G_BROKEN_FILENAMES": "1",

[ansible-project] Running Python script, running into /usr/bin/env: No such file or directory

2016-08-10 Thread SC
Hi All, Basically, I'm trying to run a python script on a host. I have a playbook that's using the script module and it works when I target Oracle Enterprise Linux 6.7. However, trying it against a Solaris host fails. This is peculiar to me because I can copy the python script to the Solaris bo