ara-slack | <mspitzer> Some of the things I want to run are like `apt list --installed` which can generate a lot of data and and add time to the ansible runs, so I am looking for a way that runs them on demand. | 01:40 |
---|---|---|
*** jlozadad_ has quit IRC | 02:54 | |
ara-slack | <dmsimard> @mspitzer ARA just picks up whatever would have been printed to the console anyway. If you'd like to discard the result data for a task, you can use "no_log: true" and that'll prevent data from being printed or recorded: http://docs.ansible.com/ansible/latest/faq.html#how-do-i-keep-secret-data-in-my-playbook | 03:06 |
ara-slack | <mspitzer> Looks like a reporting playbook might be best, optional facts could be very handy might open a ticket in repo. | 03:08 |
ara-slack | <mspitzer> @dmsimard thanks | 03:08 |
ara-slack | <dmsimard> @mspitzer what do you mean by optional fact ? Do you mean disabling ARA for an entire run ? | 03:14 |
ara-slack | <mspitzer> no I mean deployed facts that I do not want to run every time, like a list of all installed package on the system. or other things for a specific reports. I do not need to do them every time and it would be handy to have them setup and pre deployed, /etc/ansibe/facts/optional and this could be enabled by turning it on.. may not be a good idea afterall now that I typed it out | 03:18 |
ara-slack | <dmsimard> @mspitzer I know there is the notion of fact cache but I'm not sure how that works for custom facts.. anyway, there's nothing preventing you from embedding your own business logic inside your custom fact script. You can make it so it caches locally on the node when it first runs for 24hrs and then it won't check for packages again unless the cache has expired ? | 03:29 |
ara-slack | <dmsimard> I have a script with a caching logic like that if you'd like. It's for a dynamic inventory but it could help you get started. | 03:30 |
ara-slack | <mspitzer> @dmsimard from what I have read all facts are run by default and you have the option of saying I want to run a subset, manual config on play | 03:30 |
ara-slack | <mspitzer> thanks | 03:30 |
ara-slack | <mspitzer> I would like to look at it | 03:30 |
ara-slack | <dmsimard> https://github.com/dmsimard/ansible-inventory-puppetdb | 03:31 |
ara-slack | <mspitzer> thanks | 03:34 |
*** viewlogic has joined #ara | 06:30 | |
*** andymccr_ has joined #ara | 06:33 | |
*** dmsimard has quit IRC | 06:34 | |
*** andymccr has quit IRC | 06:34 | |
*** Brainspackle has quit IRC | 06:34 | |
*** dmsimard has joined #ara | 06:42 | |
ara-slack | <luiscachog> Hi! | 06:49 |
ara-slack | <luiscachog> Does anybody are able to configure ARA + Apache 2.4 + Ubuntu + mod_wsgi? | 06:49 |
*** sshnaidm has joined #ara | 07:11 | |
*** gvincent has joined #ara | 07:16 | |
*** ara-slack1 has joined #ara | 08:47 | |
*** ara-slack has quit IRC | 08:50 | |
*** nicovs_be has joined #ara | 09:22 | |
*** resmo has joined #ara | 09:33 | |
ara-slack1 | <dmsimard> @luiscachog Hi Luis, you can look at the docs to use WSGI but I'll agree it's not very straightforward and we'll improve this in the next version: http://ara.readthedocs.io/en/latest/webserver.html | 11:53 |
ara-slack1 | <dmsimard> There is a work in progress role that might be able to get you started but I don't know for sure if it still works -- I haven't had the time to maintain it very much: https://github.com/openstack/ansible-role-ara | 11:54 |
*** rvgate has joined #ara | 12:10 | |
*** myoung has joined #ara | 12:17 | |
*** myoung is now known as myoung|ruck | 12:18 | |
*** sshnaidm has quit IRC | 12:37 | |
*** sshnaidm has joined #ara | 12:45 | |
*** tbielawa has joined #ara | 13:34 | |
*** jlozadad_ has joined #ara | 13:43 | |
*** nicovs_be has quit IRC | 13:58 | |
*** bcoca has joined #ara | 14:02 | |
*** bcoca has joined #ara | 14:02 | |
*** nicovs_be has joined #ara | 14:08 | |
*** nicovs_be has quit IRC | 14:08 | |
*** nicovs_be has joined #ara | 14:08 | |
*** jlozadad_ has quit IRC | 14:09 | |
*** jlozadad has joined #ara | 14:12 | |
*** tbielawa is now known as tbielawa|mtg | 14:34 | |
*** tbielawa|mtg is now known as tbielawa | 14:55 | |
*** Bakey has joined #ara | 15:30 | |
*** jclaret has joined #ara | 15:33 | |
ara-slack1 | <luiscachog> Hi @dmsimard, I follow the instructions straight forward but seems like it is not working with apache 2.4 | 16:13 |
*** tbielawa is now known as tbielawa|lunch | 16:16 | |
*** resmo has quit IRC | 16:30 | |
BlessJah | OA | 16:38 |
ara-slack1 | <dmsimard> @luiscachog hmm, I haven't tried with Apache 2.4 I guess ? I don't know. Are you seeing any errors ? What's happening ? Are you trying to run Ansible from the same machine where you want to host the WebApp ? Does it work if you use the embedded webserver instead ? | 16:57 |
*** tbielawa|lunch is now known as tbielawa | 17:11 | |
ara-slack1 | <luiscachog> @dmsimard yes, works as expected with the embedded webserver, but with apache 2.4 it redirects me to http://localhost/about | 17:11 |
*** nicovs_be has quit IRC | 17:13 | |
ara-slack1 | <dmsimard> @luiscachog So you're running Ansible from the same machine where you want to host the reports with Apache ? | 17:22 |
ara-slack1 | <dmsimard> That's where things tend to get confusing | 17:23 |
ara-slack1 | <dmsimard> The general idea is that Ansible (with the ARA callback) as well as the web application both need to use the same database *and* have access to it. | 17:24 |
ara-slack1 | <dmsimard> I try to explain that a little bit in this FAQ: https://ara.readthedocs.io/en/latest/faq.html#can-ansible-with-ara-run-on-a-different-server-than-the-web-application | 17:24 |
ara-slack1 | <luiscachog> Yes, I'm running, Ansible + Apache2.4 on my own laptop | 17:26 |
ara-slack1 | <luiscachog> @dmsimard also, I found some errors on the ARA role for apache https://github.com/openstack/ansible-role-ara | 17:27 |
ara-slack1 | <dmsimard> Yeah, I suspect that the role needs some work, it hasn't been maintained very much but I plan on investing some time in it in the future | 17:28 |
ara-slack1 | <dmsimard> @luiscachog If this is just on your laptop and not meant to be shared, I don't think I would bother with Apache. If you want something to be running all the time, maybe you can set up an ARA systemd service that just keeps the embedded server running. | 17:29 |
ara-slack1 | <dmsimard> Apache and mod_wsgi becomes important if you are running at a certain scale or you're interested in multiple concurrent users looking at aggregated data | 17:30 |
ara-slack1 | <luiscachog> @dmsimard yeah, I'm checking that path | 17:30 |
*** nicovs_be has joined #ara | 18:00 | |
*** myoung|ruck is now known as myoung|afk | 18:01 | |
*** myoung|afk is now known as myoung|biab | 18:01 | |
*** nicovs_be has quit IRC | 18:07 | |
*** sshnaidm is now known as sshnaidm|afk | 18:13 | |
-openstackstatus- NOTICE: Most jobs in zuul are currently failing due to a recent change to zuul; we are evaluating the issue and will follow up with a recommendation shortly. For the moment, please do not recheck. | 18:14 | |
*** ChanServ changes topic to "Most jobs in zuul are currently failing due to a recent change to zuul; we are evaluating the issue and will follow up with a recommendation shortly. For the moment, please do not recheck." | 18:14 | |
*** ChanServ changes topic to "ARA - Ansible Run Analysis: Making playbook runs easier to visualize, understand and troubleshoot | Git: https://github.com/openstack/ara - Docs: https://ara.readthedocs.io/en/latest/ - Latest version: 0.14.5: https://github.com/openstack/ara/releases/tag/0.14.5 | This channel is logged: http://eavesdrop.openstack.org/irclogs/%23ara/" | 18:37 | |
-openstackstatus- NOTICE: Zuul has been restarted without the breaking change; please recheck any changes which failed tests with the error "Accessing files from outside the working dir ... is prohibited." | 18:37 | |
*** jclaret has quit IRC | 18:48 | |
*** harlowja has joined #ara | 18:50 | |
*** tbielawa is now known as tbielawa|mtg | 18:58 | |
*** myoung|biab is now known as myoung|ruck | 19:13 | |
*** tbielawa|mtg is now known as tbielawa | 19:36 | |
*** tbielawa is now known as tbielawa|brb | 19:46 | |
*** tbielawa|brb is now known as tbielawa | 20:30 | |
*** tbielawa has quit IRC | 20:45 | |
*** spiette has quit IRC | 21:10 | |
*** myoung|ruck is now known as myoung|bbl | 22:16 | |
*** Bakey has quit IRC | 23:54 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!