*** mgariepy has quit IRC | 02:14 | |
*** mgariepy has joined #ara | 02:28 | |
*** evrardjp has quit IRC | 04:33 | |
*** evrardjp has joined #ara | 04:33 | |
*** zbr has joined #ara | 07:36 | |
*** zbr has left #ara | 08:40 | |
decentral1se | nice, thanks! | 09:54 |
---|---|---|
*** decentral1se has left #ara | 09:54 | |
*** gvincent has quit IRC | 12:11 | |
*** mgariepy has quit IRC | 12:44 | |
*** mgariepy has joined #ara | 12:45 | |
*** TKersten has joined #ara | 12:59 | |
*** gvincent has joined #ara | 12:59 | |
*** k4ch0 has joined #ara | 13:24 | |
*** etienne has joined #ara | 13:33 | |
*** bwatson has left #ara | 13:46 | |
*** dmsimard3 has joined #ara | 14:41 | |
*** dmsimard has quit IRC | 14:41 | |
*** dmsimard3 is now known as dmsimard | 14:41 | |
*** sshnaidm|ruck is now known as sshnaidm|afk | 18:25 | |
*** mnaser has joined #ara | 19:32 | |
*** cyberpear has joined #ara | 19:32 | |
*** zbr_ has joined #ara | 19:51 | |
*** k4ch0 has quit IRC | 19:55 | |
*** gundalow has joined #ara | 19:58 | |
*** nahun has joined #ara | 20:09 | |
*** matbu has joined #ara | 20:34 | |
matbu | o/ ara | 20:35 |
matbu | I'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 |
matbu | thx by advance | 20:36 |
*** mnaser is now known as mnaser|ic | 20:52 | |
*** etienne has quit IRC | 21:06 | |
*** mnaser|ic has quit IRC | 21:08 | |
*** mnaser|ic has joined #ara | 21:08 | |
*** mnaser|ic has quit IRC | 21:08 | |
*** mnaser|ic has joined #ara | 21:08 | |
*** mnaser|ic is now known as vexxhost | 21:08 | |
*** etienne has joined #ara | 21:08 | |
dmsimard | hey matbu! I | 21:14 |
*** vexxhost is now known as mnaser | 21:14 | |
*** mnaser is now known as mnaser|ic | 21:14 | |
dmsimard | I wish :p | 21:14 |
dmsimard | ara 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 yet | 21:15 |
dmsimard | there 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.py | 21:16 |
dmsimard | prune uses the API, generate doesn't | 21:17 |
dmsimard | 0.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-cli | 21:19 |
matbu | dmsimard: hey man how are you ? (sorry for the delay it's a bit late here in france :)) | 21:22 |
matbu | dmsimard: 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 else | 21:22 |
matbu | dmsimard: the cli is truely a big missing piece of ara in the tripleo use at least :) | 21:23 |
dmsimard | you made me want to do a poc with cliff, I'll let you know how it turns out | 21:24 |
matbu | hehe cool | 21:24 |
matbu | im playing with curl to query the db and get the output atm | 21:24 |
dmsimard | don't use curl | 21:25 |
matbu | why ? | 21:25 |
*** etienne has quit IRC | 21:25 | |
dmsimard | try the python client out instead, super easy: https://ara.readthedocs.io/en/latest/api-usage.html | 21:25 |
dmsimard | it's better than curling and jq'ing :P | 21:26 |
matbu | dmsimard: hehe yep sure, i'm curling just for exploring the tool | 21:26 |
dmsimard | ah, there is a UI too | 21:27 |
matbu | but yep probably better to use python instead, at least to get good filter and analyse the datas | 21:27 |
dmsimard | https://api.demo.recordsansible.org/api/v1/ | 21:27 |
dmsimard | I mean, nothing against curl | 21:28 |
dmsimard | :p | 21:28 |
matbu | hehe, i like curl :) | 21:28 |
matbu | but thanks for your help, ttl for me. Maybe i will harass you bit more about ara | 21:29 |
dmsimard | sure, you know where to find me | 21:30 |
*** sshnaidm|afk has quit IRC | 22:03 | |
*** evrardjp has quit IRC | 23:25 | |
*** evrardjp has joined #ara | 23:26 | |
*** mnaser|ic has quit IRC | 23:38 | |
*** mnaser|ic has joined #ara | 23:38 | |
*** mnaser|ic has quit IRC | 23:38 | |
*** mnaser|ic has joined #ara | 23:38 | |
*** mnaser|ic is now known as mnaser | 23:38 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!