On 04.04.19 17:59, Henry Iracheta wrote:
> Here is an example of the playbook being tested:
> 
> - hosts: servers
>   remote_user: xxxxx
>   tasks:
>       - name: simply test to confirm playbook works
>         raw: /bin/hostname
> 
> > Any suggestions on how to work around this issue ?


You need to set gather_facts to no. gather_facts uses the setup module,
which is Python.

- hosts: servers
  gather_facts: no
  tasks:
[...]


Sebastian

> 
> 

-- 
Sebastian Meyer
Linux Consultant & Trainer
Mail: me...@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-- 
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/1bc1dd8e-001a-b4aa-dee6-8cac35907ce5%40b1-systems.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to