HNHacker News
TopNewBestAskShowJobs

dmsimard

17 karma · joined September 30, 2014

submissionscomments
dmsimard··on Ansible Alternatives in Python
It's healthy to look at alternatives, good on OP.

I wanted to comment on a specific part that mentions that Ansible's YAML is a nightmare to debug.

I wouldn't describe it like that but I'm biased because I've written ARA Records Ansible exactly to make playbooks easier to understand and troubleshoot: https://github.com/ansible-community/ara

I've been using Ansible for many years in different contexts and I think it is easy to get into the trap of "when you have a hammer, everything looks like a nail".

For me, Ansible shines as an excellent abstraction layer for supporting different operating systems or as a glue between different tools.

I am very much a believer of using the right tool for the job. Ansible isn't always the answer and I think that's OK.

dmsimard··on Ansible open-sources Ansible Tower with AWX
Hi! I'm the author of ARA and just wanted to thank you for mentioning it :)

Full disclosure: I'm a Software Engineer at Red Hat.

Tower has a lot of great features but I hate to concede that it does come with some of the drawbacks you mentioned. I think it comes down to weighing the pros and cons, making sure you are aware of the cons and putting measures in place to avoid problems.

It also heavily depends on your use case, Tower provides things like RBAC/ACL, auditing, scheduling, online editing and execution, an API, etc. If you happen to need none of that and you're perfectly happy with just using Ansible from your command line, there's probably little incentive for you to use it.

If all you need is reporting, ARA is simple, easy to install and setup, doesn't get in your way and just records things transparently.

I figured I might as well take the opportunity of posting to leave a video demo [1], even if a little outdated, as well as an example of live report that ara provides [2].

Let me know if you have any questions !

[1]: https://www.youtube.com/watch?v=k3i8VPCanGo [2]: http://logs.openstack.org/21/474721/7/check/gate-openstack-a...

dmsimard··on Prospector – An open source toolkit for measuring project health by Red Hat
(Full disclosure: I work at Red Hat)

I was really intrigued by this as well and dug out the following press releases:

- https://www.redhat.com/en/blog/red-hat-open-sources-prospect... - https://www.linuxfoundation.org/blog/chaoss-project-creates-...

But more importantly, I found a hosted version available here: http://prospector.bitergia.net/project/

dmsimard··on Show HN: ARA makes your Ansible playbooks easy to understand and troubleshoot
Hi HN,

OP and ARA author here, long time lurker but this time I had something I wanted to share!

We've just released a great new version of ARA and we're also celebrating it's first year anniversary with an AMA on Reddit over on /r/ansible: https://www.reddit.com/r/ansible/comments/69gkpz/hi_ransible...

So, what's ARA ?

ARA stands for Ansible Run Analysis and it is an Ansible callback plugin that records your playbook runs, wherever it is.

Whether you’re running Ansible from your personal laptop or from a server, you basically just need to install ARA, configure Ansible to use ARA and you’re good to go.

ARA organizes the data in a way to help you visualize, understand and troubleshoot what happened throughout your playbook.

Why ?

I'm part of the OpenStack engineering team at Red Hat and saying that we leverage Ansible a lot for means of deployment or continuous integration would be an understatement.

ARA helps us turn something like this ( yes, that's 33 000 lines of output ): http://logs.openstack.org/25/462925/1/check/gate-openstack-a...

Into a straightward and intuitive report: http://logs.openstack.org/25/462925/1/check/gate-openstack-a...

I'm really passionate about the project and sincerely hope it can make your life using Ansible easier.

Let me know if you have any comments or questions !

dmsimard··on BitBar: put the output from any script/program in your Mac OS X Menu Bar
Sweet. Does anyone happen to know if there is something similar for gnome-based environments on Linux ?