fact gathering is actually shared code any module can execute by using module_util/facts.py the same way you use basic.py for the module class
On Thu, May 21, 2015 at 4:50 AM, Wilco Eliveld <[email protected]> wrote: > Any updates on this? i need custom facts to get information from my hosts > but i dont want to install the facts on all the servers. > is it possible to create a addon for module setup? > > On Wednesday, January 14, 2015 at 8:56:07 PM UTC+1, Guy Matz wrote: >> >> Right! So!! Anyone know if there's a way to include the contents of the >> setup module in my module? Thanks! >> >> On Wed, Jan 14, 2015 at 2:36 PM, Brian Coca <[email protected]> wrote: >>> >>> you can do that but it would be it's own module, you would have to >>> execute it instead of setup. >>> >>> >>> -- >>> Brian Coca >>> >>> -- >>> 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 post to this group, send email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DOgsA8tWmc8LExgmCwhV0hr_enUZ8kWReKbxCdzUW4xw%40mail.gmail.com. >>> For more options, visit https://groups.google.com/d/optout. >> >> > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/9de1f9a9-e236-4dde-8123-9722dd84e6e4%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Brian Coca -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJ5XC8%3DaQYckd5ZdEUrTgXjyaZO%2BXqjdB2SuY9kJZG1v8O3kMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
