Include for showing the packages facts #167
Open
yodatak wants to merge 1 commit intofboender:masterfrom
Open
Conversation
|
+1 |
|
There is a possibility to do this in html_fancy_defs as well. I added a class so the installed packages are listed as a collapsed class under each host. Though you aren't able to sort/search for these and get a birds-eye view if a host has package X or Y installed. Having a separate column for every possible package would be overkill.. This also still requires the additional facts(package_facts) being dumped with |
|
Hello, is anyone using "package_facts" successfully? I tried these commands: But it seems not to work. Thank you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ansible 2.5.0 is out and the packages facts is supported so i propose to at least explain
https://docs.ansible.com/ansible/2.5/modules/package_facts_module.html
or integrate into the existing templeting or to add a new template only for demonstrate how to recover packages_facts
I use in my exemple of curl but it can be another package that is usefull.
For generate ansible output for your hosts
Into the html template by exemple you can do:
And add with libcurl the name of the package