--
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-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f6ce73ce-1ef3-455a-9153-f52380c7b56d%40googlegroups.com.
Hi,
You should better use the find module instead of shell module and ls.
As said, yum seem to be a group... To use hostvars special variable you need to use host and not group...
Something like this will work :
msg: "{{ hostvars['YUM01']['some_value'] }}"
But instead of asking to remove your error, perhaps you could explain what you want to do...
Regards,
JYL
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwN%2B-Y-6OQegKH%2BbDTEN5kcSrR3OdBwWUcLvBJXo3sMhUw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/ccda6477-ddea-79ee-60b0-2c5cbac511d4%40lenhof.eu.org.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.