| *** dbpiv has joined #ara | 00:18 | |
| *** dbpiv has quit IRC | 00:22 | |
| *** jmccrory has quit IRC | 00:46 | |
| *** jmccrory has joined #ara | 00:46 | |
| *** gvincent has quit IRC | 01:47 | |
| *** sshnaidm|off has quit IRC | 12:32 | |
| *** sshnaidm has joined #ara | 12:49 | |
| vincent-- | I was looking at the examples (for instance: https://web.demo.recordsansible.org/playbooks/1) and I noticed the isn't any task with "status: changed", however at the summary it says there are 20. | 13:13 |
|---|---|---|
| *** mgariepy has quit IRC | 13:29 | |
| dmsimard | vincent--: hmmm, you're right | 14:41 |
| vincent-- | dmsimard, I'm trying to setup ara for the first time literally right now :-) | 14:41 |
| dmsimard | at the API level, the status is "ok" for seemingly all the results: https://api.demo.recordsansible.org/api/v1/results?playbook=1&status=ok | 14:42 |
| dmsimard | so it's not a bug from the web interface, it's just displaying what the API is providing | 14:42 |
| vincent-- | dmsimard, are there instructions on how to setup a separate ara api server? So far I have tried with creating a python3 venv, install ara[server]==1.0.0.0b2, and after that run "ara-manage runserver". | 14:45 |
| dmsimard | ah, I understand what's going on | 14:46 |
| dmsimard | vincent--: what do you mean by separate ? | 14:46 |
| dmsimard | like a dedicated standalone api server ? | 14:46 |
| vincent-- | dmsimard, yes. I want to have that in a separate machine. | 14:47 |
| dmsimard | vincent--: there is a role if you'd like: https://ara.readthedocs.io/en/feature-1.0/ansible-role-ara-api.html | 14:48 |
| dmsimard | role is in the source: https://github.com/ansible-community/ara/tree/feature/1.0/roles | 14:48 |
| vincent-- | I'll have a look to see how it does it. | 14:48 |
| dmsimard | pending a better way, you can include that in your ANSIBLE_ROLES_PATH and then you can use a playbook like this one: https://github.com/ansible-community/ara-infra/blob/master/playbooks/live-demo.yaml | 14:49 |
| dmsimard | this is pretty much what we do for deploying the live demos | 14:49 |
| dmsimard | good news is I found the OK vs CHANGED thing | 14:50 |
| dmsimard | thanks for catching that :) | 14:50 |
| vincent-- | Thanks to you if you are going to fix it :P | 14:50 |
| dmsimard | need a bit of time to figure out the right fix but I'll fix it :D | 14:51 |
| dmsimard | fixed \o/ | 15:01 |
| *** zbr_ has joined #ara | 15:07 | |
| *** zbr has quit IRC | 15:09 | |
| vincent-- | dmsimard, did you pushed the changes to GitHub? | 15:16 |
| dmsimard | no, I'll send it for review soon | 15:18 |
| vincent-- | dmsimard, ok. I have a question regarding that role. In the "ara_api/tasks/wsgi_server/gunicorn.yaml" there is a task that notifies a handler. That handler runs if "ara_api_service_enabled is not changed". However the "ara_api_service_enabled" variable is registered from a task that runs after the one that notifies the handler. That variable shouldn't exist at that point, right? | 15:23 |
| *** etienne has joined #ara | 15:24 | |
| *** mgariepy has joined #ara | 16:24 | |
| *** vincent-- has quit IRC | 18:00 | |
| openstackgerrit | David Moreau Simard proposed recordsansible/ara feature/1.0: Add missing 'changed' and 'ignore_error' to results https://review.opendev.org/662328 | 20:41 |
| *** krion has quit IRC | 20:45 | |
| *** krion has joined #ara | 20:47 | |
| _KaszpiR_ | dmsimard if you're interested in abominations - https://github.com/nvtkaszpir/workstation tl;dr vagrant provision using custom shell script to also allow fetching ara reports ;) | 21:22 |
| _KaszpiR_ | the power of bash... | 21:23 |
| _KaszpiR_ | it's unaviodable! | 21:23 |
| dmsimard | _KaszpiR_: nothing wrong with bash :) | 21:34 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!