can you provie the playbook file

Jonathan Lozada De La Matta on mobile

________________________________
From: ansible-project@googlegroups.com on behalf of Ugo Bellavance 
<u...@lubik.ca>
Sent: Monday, August 12, 2019 12:44 AM
To: ansible-project@googlegroups.com
Subject: Re: [ansible-project] Ansible with network equipment (Comware 5 switch)

According to the blog post, it is supposed to work, but Ansible is supposed to 
use switch commands to get facts, not python. Is there a way to tell Ansible 
not to try to discover python on the remote target?

Thanks,

On Sat, Aug 10, 2019, 12:17 Kai Stian Olstad, 
<ansible-project+l...@olstad.com<mailto:ansible-project%2bl...@olstad.com>> 
wrote:
On 09.08.2019 15:41, Ugo Bellavance wrote:
>       - fatal: [192.168.xx.xx]: FAILED! => {"msg": "module (setup) is
>       missing interpreter line"}

Default the first thing Ansible does is to gather facts, this is the
setup module.
Since you switch don't have Python this will not work an need to be
disables by setting gather_facts: no on the play.


--
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<mailto:ansible-project%2bunsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/427918591a464ca26e69cee128a2398a%40olstad.com.

--
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<mailto:ansible-project+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACSSk%2BXb74CHAdXqQVOVM%3DfRXN%2BcWzugLv7RMEzRk%2BTdzMEQDA%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CACSSk%2BXb74CHAdXqQVOVM%3DfRXN%2BcWzugLv7RMEzRk%2BTdzMEQDA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/SN6PR08MB39842748C59613B266334A6EA6D30%40SN6PR08MB3984.namprd08.prod.outlook.com.

Reply via email to