How to use cached facts inside ansible module and caching custom facts
26 views
Skip to first unread message
Yasir Saleem
unread,
Jul 7, 2015, 7:30:18 PM7/7/15
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 ansible...@googlegroups.com
Hi,
I am writing module that validates host facts(large number of them) with inventory database for audit and monitoring purposes. I have couple of questions in this regard:
1. Is there a way to cache custom facts?
2. Is there an API to use cached or ansible gathered facts inside module?
Thanks,
Yasir.
Brian Coca
unread,
Jul 7, 2015, 7:40:08 PM7/7/15
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