*** apollo13 has quit IRC | 11:32 | |
*** apollo13 has joined #ara | 11:33 | |
*** apollo13 has quit IRC | 11:35 | |
*** apollo13 has joined #ara | 11:36 | |
_KaszpiR_ | dmsimard question https://github.com/ansible-community/ara/issues/164 (tl;dr any progress in old ara generate to make html output?) | 15:24 |
---|---|---|
_KaszpiR_ | oh wait | 15:26 |
_KaszpiR_ | yay it works, I totally missed the last two lines in ara-manage output | 15:30 |
_KaszpiR_ | works perfect | 19:27 |
_KaszpiR_ | https://github.com/nvtkaszpir/workstation/blob/master/ara.png :D | 20:35 |
_KaszpiR_ | yeah, long time no see but I was on some ancient ara version becase the newer one was not allowing to see the errors - that was a real stopper for me | 20:36 |
_KaszpiR_ | but today it totally changes, and the update wasn't that hard, looking at the fact the code I used was kinda over 1y old | 20:37 |
_KaszpiR_ | great work guys! | 20:37 |
dmsimard | _KaszpiR_: \o/ | 20:39 |
_KaszpiR_ | the only thing that bite was ara and settings file - I was installing ara in vagrant and then syncing files to host, thus the paths were wrong, and I just had to override ARA_BASE_DIR and after that ARA_DATABASE_NAME | 20:41 |
dmsimard | and yeah, despite 0.x and 1.x being on vastly different backends, a lot of thought went into making things work the same | 20:41 |
dmsimard | ah, because the database doesn't end up in ~/.ara ? | 20:44 |
_KaszpiR_ | in vagrant I keep db in /vagrant/reports/ara/db/ | 20:49 |
_KaszpiR_ | while on host it's completety different directory | 20:50 |
_KaszpiR_ | when ara starts on the first time (as ansible callback) it genereates default settings.yml file with defaults and picks up working directory/env vars and populates the config | 20:51 |
_KaszpiR_ | all works well in vagrant | 20:51 |
_KaszpiR_ | (in guest) | 20:51 |
_KaszpiR_ | but then after rsyncing files back to host then settings.yml needs overrides, I desided to go for env vars instead of altering file | 20:51 |
_KaszpiR_ | https://github.com/nvtkaszpir/workstation/blob/master/scripts/ara.sh | 20:52 |
_KaszpiR_ | so this actually allows to spawn ara we server and rsyncs will update the db dynamically, another option is to just use rendered html files | 20:53 |
_KaszpiR_ | the first option is good for interactive work, the second is good for CI systems as asritfacts | 20:53 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!