Re: [ansible-project] Raw module and interactive commands

2015-12-11 Thread theyuseus
Awesome, thank you for the information. -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group,

Re: [ansible-project] Raw module and interactive commands

2015-12-10 Thread theyuseus
Is there a tutorial anywhere about how to get started using the expect module? I've installed pexpect but when I try to use it in a playbook it fails with this message: ERROR: expect is not a legal parameter in an Ansible task or handler Based on what I've found (I could only find 2-3

Re: [ansible-project] Raw module and interactive commands

2015-12-10 Thread theyuseus
I've uninstalled and reinstalled version 1.9.4 and it isn't with it. I downloaded it from github and added "library = /path/to/ansible/modules:/path/to/extras" to the ansible.cfg file, had to fix my command to the following text - expect: command: save primary responses:

Re: [ansible-project] Raw module and interactive commands

2015-12-10 Thread theyuseus
On investigation it appears that I do not have the expect module. I thought I installed ansible with pip install ansible, but I earlier tried homebrew but it didn't work. Maybe something got messed up. I guess I'll try to figure out how to fix my installation. -- You received this message

Re: [ansible-project] Raw module and interactive commands

2015-12-02 Thread theyuseus
Extreme Networks' EXOS. It's Linux based but doesn't have Python or other languages except one that I can't remember it's heritage (TCL maybe?). I think the prompt is a heavily modified BusyBox or something. I'm not sure how I would go about testing those 2 modules. I could try them if you

[ansible-project] Re: SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh

2015-12-01 Thread theyuseus
Well, I just tried anything and everything I could and it looks like adding "-c paramiko" fixed it. -- 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

[ansible-project] Re: SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh

2015-12-01 Thread theyuseus
Am I missing a flag or setting? I've got "ansible_ssh_private_key_file" set to the full path to my id_rsa file. Is that all it takes to get Ansible to use private keys? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from

Re: [ansible-project] Re: SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh

2015-12-01 Thread theyuseus
The version on my master computer is: OpenSSL 0.9.8zc 15 Oct 2014. I can't seem to find the version on the the clients, which are switches. What I don't get is why --ask-pass works with OpenSSH but private keys don't. I added this to my ansible.cfg and it made no difference but I'm not sure

[ansible-project] SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh

2015-11-30 Thread theyuseus
I’m trying to use private keys. I've got it all setup and it works when I use this command. ssh -C james@172.30.129.174 some command It works when I use the command as formatted by Ansible too. ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o

[ansible-project] Re: SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh

2015-11-30 Thread theyuseus
One more comment, if I add --ask-pass to the Ansible command it works. I just can't get the private keys to work. -- 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