Setup module finding package information

11 views
Skip to first unread message

Drew Mullen

unread,
Mar 9, 2017, 3:01:10 AM3/9/17
to Ansible Project
Can the setup module provide information like:
- is java install?
- which versions are installed?
- where are they installed?

I noticed in my first test run of the module that python is investigated but didn't see other software / tools (or in the source code).


Kai Stian Olstad

unread,
Mar 9, 2017, 7:11:06 AM3/9/17
to ansible...@googlegroups.com
Not out of the box, but you add facts yourself with local facts
https://docs.ansible.com/ansible/playbooks_variables.html#local-facts-facts-d

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages