Sunday, 2021-01-10

*** apollo13 has quit IRC11:32
*** apollo13 has joined #ara11:33
*** apollo13 has quit IRC11:35
*** apollo13 has joined #ara11: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 wait15:26
_KaszpiR_yay it works, I totally missed the last two lines in ara-manage output15:30
_KaszpiR_works perfect19:27
_KaszpiR_https://github.com/nvtkaszpir/workstation/blob/master/ara.png :D20: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 me20: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 old20: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_NAME20:41
dmsimardand yeah, despite 0.x and 1.x being on vastly different backends, a lot of thought went into making things work the same20:41
dmsimardah, 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 directory20: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 config20:51
_KaszpiR_all works well in vagrant20: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 file20:51
_KaszpiR_https://github.com/nvtkaszpir/workstation/blob/master/scripts/ara.sh20: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 files20:53
_KaszpiR_the first option is good for interactive work, the second is good for CI systems as asritfacts20:53

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!