*** irclogbot_3 has quit IRC | 00:02 | |
*** altlogbot_2 has quit IRC | 00:05 | |
*** altlogbot_2 has joined #ara | 00:05 | |
*** irclogbot_1 has joined #ara | 00:06 | |
*** youam has joined #ara | 09:35 | |
youam | I need to select the Playbook ID while using ARA's cli. right now, this: ara stats list -c "Playbook ID" --column Host -f json only works after monkey-patching Field('Playbook ID', 'playbook.id'), into LIST_FIELDS in cli/stats.py. what's the correct approach to do this? | 09:38 |
---|---|---|
youam | (ara version 0.16.4, if that matters) | 09:40 |
*** jparrill has joined #ara | 13:32 | |
*** jparrill has quit IRC | 13:48 | |
*** gvincent has quit IRC | 15:07 | |
*** ktibi has joined #ara | 15:36 | |
*** ktibi_ has joined #ara | 15:44 | |
*** ktibi has quit IRC | 15:47 | |
*** ktibi_ has quit IRC | 17:40 | |
dmsimard | youam: what is the use case ? would the new API help ? https://ara.readthedocs.io/en/feature-1.0/api-usage.html#example-api-usage | 17:57 |
*** altlogbot_2 has quit IRC | 18:02 | |
*** altlogbot_2 has joined #ara | 18:02 | |
youam | dmsimard: remember the "overview table" feature i spoke about three or four weeks back? this is https://gitlab.youam.com/snippets/1 | 19:54 |
youam | dmsimard: at first glance, your linked python api should work, and be way faster than what i've hacked in shell | 19:56 |
youam | or rather, it should be possible to rewrite my shell script in python and make it use the new api, and then be way faster. obviously, your example script and my hack do different things | 19:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!