You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
I have a playbook that generates in-memory inventory. The hosts are part of multiple groups. Is there a module or easy way to export the in-memory inventory to an output file?
Vladimir Botka
unread,
Jan 22, 2020, 7:21:02 PM1/22/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mike V, ansible...@googlegroups.com
Yes. It is. For example use this template
{% for group in groups %}
[{{ group }}]
{% for host in groups[group] %}
{{ host }}
{% endfor %}