ansible-job-report
A template for creating HTML-based job reports with Ansible (by jwkenney)
ara
ARA Records Ansible and makes it easier to understand and troubleshoot. (by ansible-community)
ansible-job-report | ara | |
---|---|---|
13 | 82 | |
102 | 1,798 | |
- | 0.4% | |
0.0 | 6.8 | |
7 months ago | 3 days ago | |
HTML | Python | |
MIT License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ansible-job-report
Posts with mentions or reviews of ansible-job-report.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-05.
-
Gathering a set_fact on hosts and combining to a single dictionary for an html report
If you want an example of this in action, I made an example that does what you are describing.
-
How would I get a list of IP addresses of failed hosts and details?
If you want custom feedback of job status, I have employed this method before. It's a little cumbersome for everyday use, but for big or important jobs it's one way to get a custom report of task output and host failures. Or if you're feeling extra, you can do the full version.
-
What are you using for patch management?
For RHEL servers, we use reposync to mirror patches locally, and then install them with yum. We drive the process with a series of Ansible playbooks. We have some optional host vars or group vars we can declare to tune the patching behavior per-host, or to handle custom patching scenarios. Our patching process generates a report similar to this one.
-
Linux Patching
I uploaded a stripped-down version of it here, if you need ideas. More details and examples here.
-
Help with getting outputs from Ansible into a file with good output
I made something similar a while back to report on patch activity; try this example for some ideas.
-
Controlled and staggered patching
To generate a patch report, one option is to use a jinja template to compile an HTML-formatted email. For a working example to play with, see this github.
-
using ansible_facts for reporting
You can generate a "pretty" HTML report using a Jinja template. This github example may be a little overkill for your needs, but it shows how you can assemble a report with per-host facts and task status using Jinja templates.
- Sending Email with Pending Updates
-
You did WHAT with Ansible?! Automate the Uncommon (my AnsibleFest 2021 Presentation)
As you mentioned, using Jinja to generate HTML for job reports. When renovating our script-based patching process for Linux, we had to choose between Redhat Satellite and rolling our own. We found that Satellite was overkill for our needs, and not worth the maintenance fuss and licensing costs. The biggest draw of Satellite for management was reporting... so I tortured Jinja into making a pretty CSS-styled report at the end of our patching playbook. Everyone is happy, and we have one less tool to maintain!
-
Generating a List of Pending Updates
For our patch reporting, we run the yum check-update command and put the output in an HTML template that is emailed to groups. The report we assemble is similar to this.
ara
Posts with mentions or reviews of ara.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-14.
-
With what should I use ansbile?
Look into AWX as an alternative to Tower. If you just want better reporting on runs, check out ARA or callback plugins.
- Show HN: ARA Records Ansible and makes it easier to understand and troubleshoot
-
Ansible-Semaphore vs Ansible AWX
Also worth considering is ARA for playbook reporting, and then whatever you want for orchestration (Jenkins, Azure Devops, Rundeck, etc).
-
Zabbix to monitor ansible
Why not use ara?
-
How would I get a list of IP addresses of failed hosts and details?
For general recording of playbook activity with a web dashboard, ARA works really well.
- Planning on writing a callback plugin - is there a unique variable to identify a particular play being run?
-
A way to log which user excuted a playbook
If you don’t want any UI / access control then you can also look at ARA - https://ara.recordsansible.org This works as a callback plugin to capture the job run data.
-
Benchmarking ansible-core 2.11 vs 2.14 and python 3.9 vs 3.11 along with ara's database backends
I'm not sure how to interpret running 100 debug messages (https://github.com/ansible-community/ara/blob/master/tests/integration/benchmark_tasks.yaml) into real life performance. Mitogen's Benchmark used either 100 times a "hostname" command on the target machine (https://github.com/mitogen-hq/mitogen/blob/master/tests/ansible/bench/loop-100-items.yml) or running the DebOps project (https://github.com/debops/debops-playbooks/blob/master/playbooks/common.yml) for some sorta real-world module usage.
-
The Bullhorn #92 (Ansible Newsletter)
Reach out on Mastodon or see this issue on GitHub.
-
Best options for monitoring Ansible deployment times
There has been discussions about a prometheus exporter for monitoring, metrics and eventually fancy graphs in grafana but work on this has not started yet: https://github.com/ansible-community/ara/issues/177