Monday, 2018-03-12

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 IRC02: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-playbook03: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 thanks03: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 out03: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 play03:30
ara-slack<mspitzer> thanks03:30
ara-slack<mspitzer> I would like to look at it03:30
ara-slack<dmsimard> https://github.com/dmsimard/ansible-inventory-puppetdb03:31
ara-slack<mspitzer> thanks03:34
*** viewlogic has joined #ara06:30
*** andymccr_ has joined #ara06:33
*** dmsimard has quit IRC06:34
*** andymccr has quit IRC06:34
*** Brainspackle has quit IRC06:34
*** dmsimard has joined #ara06: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 #ara07:11
*** gvincent has joined #ara07:16
*** ara-slack1 has joined #ara08:47
*** ara-slack has quit IRC08:50
*** nicovs_be has joined #ara09:22
*** resmo has joined #ara09: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.html11: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-ara11:54
*** rvgate has joined #ara12:10
*** myoung has joined #ara12:17
*** myoung is now known as myoung|ruck12:18
*** sshnaidm has quit IRC12:37
*** sshnaidm has joined #ara12:45
*** tbielawa has joined #ara13:34
*** jlozadad_ has joined #ara13:43
*** nicovs_be has quit IRC13:58
*** bcoca has joined #ara14:02
*** bcoca has joined #ara14:02
*** nicovs_be has joined #ara14:08
*** nicovs_be has quit IRC14:08
*** nicovs_be has joined #ara14:08
*** jlozadad_ has quit IRC14:09
*** jlozadad has joined #ara14:12
*** tbielawa is now known as tbielawa|mtg14:34
*** tbielawa|mtg is now known as tbielawa14:55
*** Bakey has joined #ara15:30
*** jclaret has joined #ara15:33
ara-slack1<luiscachog> Hi @dmsimard, I follow the instructions straight forward but seems like it is not working with apache 2.416:13
*** tbielawa is now known as tbielawa|lunch16:16
*** resmo has quit IRC16:30
BlessJahOA16: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 tbielawa17:11
ara-slack1<luiscachog> @dmsimard yes, works as expected with the embedded webserver, but with apache 2.4 it redirects me to http://localhost/about17:11
*** nicovs_be has quit IRC17: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 confusing17: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-application17:24
ara-slack1<luiscachog> Yes, I'm running, Ansible + Apache2.4 on my own laptop17:26
ara-slack1<luiscachog> @dmsimard also, I found some errors on the ARA role for apache https://github.com/openstack/ansible-role-ara17: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 future17: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 data17:30
ara-slack1<luiscachog> @dmsimard yeah, I'm checking that path17:30
*** nicovs_be has joined #ara18:00
*** myoung|ruck is now known as myoung|afk18:01
*** myoung|afk is now known as myoung|biab18:01
*** nicovs_be has quit IRC18:07
*** sshnaidm is now known as sshnaidm|afk18: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 IRC18:48
*** harlowja has joined #ara18:50
*** tbielawa is now known as tbielawa|mtg18:58
*** myoung|biab is now known as myoung|ruck19:13
*** tbielawa|mtg is now known as tbielawa19:36
*** tbielawa is now known as tbielawa|brb19:46
*** tbielawa|brb is now known as tbielawa20:30
*** tbielawa has quit IRC20:45
*** spiette has quit IRC21:10
*** myoung|ruck is now known as myoung|bbl22:16
*** Bakey has quit IRC23:54

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!