Ah, ok. I thought I needed to use win_shell, because of the need to set
environment variables. I see that's not the case, though. Thx.
On Tuesday, May 15, 2018 at 5:42:21 PM UTC-4, Jordan Borean wrote:
>
> No worries, I was just curious as to why it wasn't pipelining. The syntax
> you had the
Ok, I think I'm going to pull back and work on upgrading both Python (to
2.7.5) and Ansible. We're 2.2.1.0, where the latter is concerned.
Thanks for your help, Jordan.
-Anthony
On Tuesday, May 15, 2018 at 3:42:29 PM UTC-4, Jordan Borean wrote:
>
> The main issue you have is that there is a co
On my (winrm) target host, I am able to run the following:
PS C:\Users\agenerette> c:/Python27/python.exe
c:/xx/run/yy/tests/confluence_api_test.py
When I try to incorporate that into a playbook, however, I get a great
block of mostly encoded error output that I'm not able to make sense of.
Since I'm no longer going to try and run this via a script, I'd like to
close this topic and start another one.
On Monday, May 14, 2018 at 2:52:55 PM UTC-4, Ab Generette wrote:
>
> I have a CentOS7 control server from which I am trying to manage a few
> Server2012/Cygwin n
I've done a bit of switching, ssh to winrm and back, again, while
troubleshooting this one.
There are just a number of things that have been getting run on these
hosts, from their consoles, in Cygwin: things like runs of those two Python
scripts. I'm trying just trying to automate that stuff.
Does this shed any light(?):
(ansible) MacBook-Pro:playbooks anthony$ ansible wrk04 -e
@~/.ansible/secure.yml -m win_ping --ask-vault-pass
Vault password:
wrk04 | UNREACHABLE! => {
"changed": false,
"msg": "ntlm: requested auth method is ntlm, but requests_ntlm is not
installed",
"un
Thanks, Jordan. Ok, I believe I see what you mean. I only went down this
convoluted path involving the script and all, because of other problems
that I ran into.
Changing that playbook to:
---
- hosts: "{{ targets }}"
user: "{{ admin }}"
gather_facts: yes
vars:
python_exec: /cygdri
No, I'm no longer seeing the error on attempt to manually import
cryptography.
On Monday, May 14, 2018 at 3:44:41 PM UTC-4, Jordan Borean wrote:
>
> Are you still getting the import error when trying to manually import
> cryptography, you need to solve that first before using Ansible.
>
--
You
t requests_ntlm is not
installed",
"unreachable": true
}
(ansible) MacBook-Pro:playbooks anthony$ pip freeze | grep crypto
asn1crypto==0.24.0
cryptography==2.2.2
On Sunday, May 13, 2018 at 8:59:57 PM UTC-4, Ab Generette wrote:
>
> Has anyone out there seen this issue -- when
I have a CentOS7 control server from which I am trying to manage a few
Server2012/Cygwin nodes. Those latter nodes have Cygwin setup such that
its sshd component is installed and running (I'm able to successfully ssh
to the targets).
My ~/.ansible.cfg is the active one and this file contains
'Looks like the system sees it as already being installed:
MacBook-Pro:playbooks anthony$ pip2.7 install pycrypto
Requirement already satisfied (use --upgrade to upgrade): pycrypto in
/Library/Python/2.7/site-packages
Cleaning up...
On Monday, May 14, 2018 at 10:22:05 AM UTC-4, Ab Gene
Ok,
Here's what I got, so, I'll see what I can find on the module mentioned:
MacBook-Pro:playbooks anthony$ python -c "from requests_ntlm import
HttpNtlmAuth"
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/requests_ntlm/__init__.py", line
1,
Has anyone out there seen this issue -- when running win_ping against a
host -- and been able to resolve it(?):
< target host > | UNREACHABLE! => {
"changed": false,
"msg": "ntlm: requested auth method is ntlm, but requests_ntlm is not
installed",
"unreachable": true
}
Checking wh
Hello Everyone,
I have worked with Ansible for a while, now, but am very new to the use of
that tool to manage Windows nodes. Recently, I ran into a bit of trouble
with running simple things like win_ping against my target hosts. I wanted
to see if anyone on this forum might be able to help m
14 matches
Mail list logo