On Friday, 2 February 2018 12.52.16 CET 'Daley Okuwa' via Ansible Project wrote:
> hello all
> I have this in my backup_config_yaml
> ---
>   hosts:  all
>   connection: local
>   gather_facts: no
>   tasks:
>   - name: GET  CONFIG
>     junos_get_config:
>       user=xxxx
>       passwd=xxxxx
>       host={{inventory_hostname}}
>       dest=backups/{{inventory_hostname}}.conf
>       port=22
>  also have installed Junos PyEZ on my ansible server
> my etc/ansible/ hosts
> [junos]
> x.x.x.x
> I run the playbook
> ansible@ansible-new:/etc/ansible$ ansible-playbook -i hosts 
> backup_config-junos.yml
> I get this error message 
> ERROR! no action detected in task. This often indicates a misspelled module 
> name, or incorrect module path.

As the error message say, there is some problem with you module.
When I check the documentation
there is no module called junos_get_config, the closes is junos_config.

Kai Stian Olstad

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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to