Hi Can someone please help me with this?

On Friday, December 2, 2016 at 2:48:44 PM UTC+5:30, Chitrangda Kapoor wrote:
>
> Hi,
>
> I am trying to use netscaler module of ansible like below:-
>
> "ansible host -m netscaler -a "nsc_host=10.102.56.141 user=nsroot 
> password=nsroot""
>
>
> But I am getting the below error:-
>
> 'ERROR! Specified hosts and/or --limit does not match any hosts'
>
>
> Even with -vvv ,I get the following:-
>
> "[root@localhost roles]# ansible host -m netscaler -a 
> "nsc_host=10.102.56.141 user=nsroot password=nsroot" -vvv
> Using /etc/ansible/ansible.cfg as config file
> ERROR! Specified hosts and/or --limit does not match any hosts"
>
>
> Can anybody help me how to connect to netscaler with ansible. The ansible 
> ping gives following error:-
>
>
> "[root@localhost roles]# ansible 10.102.56.143 -m ping -vvv
> Using /etc/ansible/ansible.cfg as config file
> <10.102.56.143> ESTABLISH SSH CONNECTION FOR USER: None
> <10.102.56.143> SSH: EXEC ssh -C -q -o ControlMaster=auto -o 
> ControlPersist=60s -o KbdInteractiveAuthentication=no -o 
> PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey 
> -o PasswordAuthentication=no -o ConnectTimeout=10 -o 
> ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r 10.102.56.143 '/bin/sh 
> -c '"'"'( umask 77 && mkdir -p "` echo 
> /tmp/ansible/$USER/ansible-tmp-1480696563.27-207661911591794 `" && echo 
> ansible-tmp-1480696563.27-207661911591794="` echo 
> /tmp/ansible/$USER/ansible-tmp-1480696563.27-207661911591794 `" ) && sleep 
> 0'"'"''
> 10.102.56.143 | UNREACHABLE! => {
>     "changed": false, 
>     "msg": "Failed to connect to the host via ssh.", 
>     "unreachable": true
> }
> "
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to