Have been trying to get the vyos_config module to work 
(https://docs.ansible.com/ansible/vyos_config_module.html).

However always getting this error: fatal: [localhost]: FAILED! => 
{"changed": false, "commands": ["show configuration commands"], "failed": 
true, "msg": "timeout trying to send command: show configuration 
commands\r"}

Playbook looks like this
---
 - hosts: localhost
   connection: local
   vars:
       cli:
           host: 111.111.111.111
           username: vyos
           password: vyos
           transport: cli
   tasks:
     - name: configure the remote device
       vyos_config:
         lines:
         - set service snmp community testing authorization ro
         provider: "{{ cli }}"


I searched for more examples on vyos_config but couldn't find anything. 
Does any one have experience with vies_config?

Thanks,
Carl

-- 
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, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c02bdfc2-c7b3-4cfd-ac7d-2822fba96f88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to