[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-08 Thread ameya agashe
Try this, pip install pywinrm==0.2.2 If you have RHEL subscription, check this link too k this page too https://access.redhat.com/solutions/4459791 Cheers Ameya Agashe On Thursday, 9 July 2020 07:42:32 UTC+10, Eric Holzapfel wrote: > > I have a Redhat Linux server RH7.8 > > It is running AWX no

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-10 Thread Eric Holzapfel
Hello And Thanks for reply, I will try this PIP command (again) but I do not have an RH subscription. Also a new symptom, I can run a python program that imports winrm, but I get an error "no winrm" if I try to run the program as a regular user. If I run it as sudo - the python program runs, n

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-10 Thread ameya agashe
You do need an RH subscription if you want to use RHEL, else go for CentOS. On Saturday, 11 July 2020 05:07:12 UTC+10, Eric Holzapfel wrote: > > Hello And Thanks for reply, > > I will try this PIP command (again) but I do not have an RH subscription. > > Also a new symptom, I can run a python

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-11 Thread ej
This sounds like a problem that I ran into before. Please check your umask setting. I suspect it is not 0022. If it isn't, then trying uninstalling pywinrm and requests, set the umask to 022, and then reinstall pywinrm and requests with the umask set. The modules should then have the appropr

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-14 Thread Eric Holzapfel
Hello, Thanks for the ;reply. I am wondering where I would change the umask value? Just at user level? or system wide? I have a similar install with pywinrm, python2, and ansible, and installed pywinrm, and it works fine. It is the red hat server that does not find the winrm, urllib3 modules, etc

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-14 Thread ej
You only need to change the umask temporarily from the command line before reinstalling pywinrm and any other packages that don’t have the right file and directory permissions. You can just type “*umask 022*” before doing the package reinstallation to set it. That will only change the umask

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-14 Thread Eric Holzapfel
Hello EJ, This is helpful info - also thanks for the reply. I does seem that it is a permissions issue. I almost got thing going - as root user i was able to insure that python3 (3.6) was installed - for python I have to use python3 mypythonfile.py. As root, and umask 022, i installed anisible u

[ansible-project] Re: pywinrm, winrm, ansible - no go

2020-07-17 Thread ej
Hi ewholz, We’re you able to get it working? It sounded like maybe you’d installed Ansible with pip and had the same issue with the umask. ej -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receivin