HI Brian,
Thank you for the reply.
I did the 5v's as you mentioned, and dont know why it is saying that the
hosts does not match.
TEMPLATES]# cp IOS_telnet.yaml /etc/ansible/
[root@spm6637 TEMPLATES]# ansible-playbook -i Cisco_Telnet IOS_telnet.yaml
[WARNING]: Unable to parse /etc/ansible/TEMPLATES/Cisco_Telnet as an
inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note
that the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: Cisco_Telnet
PLAY [Telnet do show version for IOS]
***********************************************************************************************************************
skipping: no hosts matched
PLAY RECAP
**************************************************************************************************************************************************
I tried pinging it, and it was successful.
TEMPLATES]# ansible Cisco_Telnet -m ping
d2c2e-be-ag249-o | SUCCESS => {
"changed": false,
"ping": "pong"
TEMPLATES]# ansible --list-host Cisco_Telnet
hosts (1):
d2c2e-be-ag249-o
On Tuesday, April 21, 2020 at 1:04:54 AM UTC-4, Brian Coca wrote:
>
> for telnet use 5 v's (-vvvvv) , 3 won't show anything about the task.
>
>
> --
> ----------
> Brian Coca
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/bb8135e1-b69b-4945-83b9-6ce18ecefaf7%40googlegroups.com.