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, < [email protected]> 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 [email protected]. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACSSk%2BXb74CHAdXqQVOVM%3DfRXN%2BcWzugLv7RMEzRk%2BTdzMEQDA%40mail.gmail.com.
