Wednesday, 2020-07-08

*** mgariepy has quit IRC02:14
*** mgariepy has joined #ara02:28
*** evrardjp has quit IRC04:33
*** evrardjp has joined #ara04:33
*** zbr has joined #ara07:36
*** zbr has left #ara08:40
decentral1senice, thanks!09:54
*** decentral1se has left #ara09:54
*** gvincent has quit IRC12:11
*** mgariepy has quit IRC12:44
*** mgariepy has joined #ara12:45
*** TKersten has joined #ara12:59
*** gvincent has joined #ara12:59
*** k4ch0 has joined #ara13:24
*** etienne has joined #ara13:33
*** bwatson has left #ara13:46
*** dmsimard3 has joined #ara14:41
*** dmsimard has quit IRC14:41
*** dmsimard3 is now known as dmsimard14:41
*** sshnaidm|ruck is now known as sshnaidm|afk18:25
*** mnaser has joined #ara19:32
*** cyberpear has joined #ara19:32
*** zbr_ has joined #ara19:51
*** k4ch0 has quit IRC19:55
*** gundalow has joined #ara19:58
*** nahun has joined #ara20:09
*** matbu has joined #ara20:34
matbuo/ ara20:35
matbuI'm making a poc with it, i'm wondering if there is a cli to query the db and if so how to install it ?20:36
matbuthx by advance20:36
*** mnaser is now known as mnaser|ic20:52
*** etienne has quit IRC21:06
*** mnaser|ic has quit IRC21:08
*** mnaser|ic has joined #ara21:08
*** mnaser|ic has quit IRC21:08
*** mnaser|ic has joined #ara21:08
*** mnaser|ic is now known as vexxhost21:08
*** etienne has joined #ara21:08
dmsimardhey matbu! I21:14
*** vexxhost is now known as mnaser21:14
*** mnaser is now known as mnaser|ic21:14
dmsimardI wish :p21:14
dmsimardara 0.x had a CLI with cliff with pretty tables and stuff but with the rewrite to django and the new API it hasn't been ported yet21:15
dmsimardthere are some CLI commands like "prune" https://github.com/ansible-community/ara/blob/master/ara/api/management/commands/prune.py or "generate" https://github.com/ansible-community/ara/blob/master/ara/ui/management/commands/generate.py21:16
dmsimardprune uses the API, generate doesn't21:17
dmsimard0.x had commands like "ara playbook list" "ara playbook show": https://ara.readthedocs.io/en/stable-0.x/usage.html#querying-the-database-with-the-cli21:19
matbudmsimard: hey man how are you ? (sorry for the delay it's a bit late here in france :))21:22
matbudmsimard: thanks for the clarification, i saw in the doc some cli thing but i wasn't able to find it in the code or anywhere else21:22
matbudmsimard: the cli is truely a big missing piece of ara in the tripleo use at least :)21:23
dmsimardyou made me want to do a poc with cliff, I'll let you know how it turns out21:24
matbuhehe cool21:24
matbuim playing with curl to query the db and get the output atm21:24
dmsimarddon't use curl21:25
matbuwhy ?21:25
*** etienne has quit IRC21:25
dmsimardtry the python client out instead, super easy: https://ara.readthedocs.io/en/latest/api-usage.html21:25
dmsimardit's better than curling and jq'ing :P21:26
matbudmsimard: hehe yep sure, i'm curling just for exploring the tool21:26
dmsimardah, there is a UI too21:27
matbubut yep probably better to use python instead, at least to get good filter and analyse the datas21:27
dmsimardhttps://api.demo.recordsansible.org/api/v1/21:27
dmsimardI mean, nothing against curl21:28
dmsimard:p21:28
matbuhehe, i like curl :)21:28
matbubut thanks for your help, ttl for me. Maybe i will harass you bit more about ara21:29
dmsimardsure, you know where to find me21:30
*** sshnaidm|afk has quit IRC22:03
*** evrardjp has quit IRC23:25
*** evrardjp has joined #ara23:26
*** mnaser|ic has quit IRC23:38
*** mnaser|ic has joined #ara23:38
*** mnaser|ic has quit IRC23:38
*** mnaser|ic has joined #ara23:38
*** mnaser|ic is now known as mnaser23:38

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