| *** Marbug has quit IRC | 01:00 | |
| *** Marbug has joined #ara | 01:30 | |
| *** tykling has joined #ara | 03:13 | |
| *** ccamacho has quit IRC | 05:20 | |
| *** evrardjp has quit IRC | 05:33 | |
| *** evrardjp has joined #ara | 05:33 | |
| *** TKersten has joined #ara | 06:34 | |
| *** ccamacho has joined #ara | 07:59 | |
| *** sshnaidm is now known as sshnaidm|ruck | 09:34 | |
| *** sshnaidm|ruck has quit IRC | 10:01 | |
| *** sshnaidm has joined #ara | 10:01 | |
| ara-slack | christophe.delarue: @christophe.delarue has joined the channel | 10:04 |
|---|---|---|
| ara-slack | christophe.delarue: (I am new to slack ara) | 10:11 |
| ara-slack | I have in my inventory some ansible variable to identify a client {{ client }} and an target env (aka prod or uat) | 10:11 |
| ara-slack | I'd like to see those variables in Label column of ara web. | 10:11 |
| ara-slack | AFAIK label only display argument_labels :( | 10:11 |
| ara-slack | Is there a way to do it ? | 10:11 |
| ara-slack | I tried setting ara_default_labels in my group_vars/all with the ansible variable but I did not get what I wanted | 10:11 |
| *** sshnaidm is now known as sshnaidm|afk | 10:55 | |
| *** cristobal44 has joined #ara | 11:00 | |
| cristobal44 | (I tried on slack, #general with no anwser, I try on irc) | 11:01 |
| cristobal44 | I have in my inventory some ansible variable to identify a client {{ client }} and an target env (aka prod or uat)I'd like to see those variables in Label column of ara web.AFAIK label only display argument_labels :(Is there a way to do it ?I tried setting ara_default_labels and ara_playbook_label in my group_vars/all with the ansible variable but | 11:02 |
| cristobal44 | I did not get what I wanted | 11:02 |
| *** sshnaidm|afk is now known as sshnaidm|ruck | 11:39 | |
| *** mgariepy has quit IRC | 12:09 | |
| dmsimard | cristobal44: the irc and slack channels are bridged :) | 12:49 |
| dmsimard | ara_default_labels goes into ansible.cfg or an env variable, it's not an ansible variable | 12:50 |
| dmsimard | ara_playbook_labels might just work if specified directly in the playbook itself, there is an issue on github to troubleshoot why | 12:51 |
| *** maiseycorne has quit IRC | 12:55 | |
| *** dbpiv has joined #ara | 13:08 | |
| *** mgariepy has joined #ara | 13:17 | |
| ara-slack | christophe.delarue: @dmsimard :slightly_smiling_face: | 13:47 |
| ara-slack | ara_default_labels set in ansible.cfg cannot use content of result variables as ara_default_labels="{{ client }}" | 13:47 |
| ara-slack | I tried to add | 13:47 |
| ara-slack | vars: | 13:47 |
| ara-slack | ara_playbook_labels: | 13:47 |
| ara-slack | - "{{ client }}" | 13:47 |
| ara-slack | - "{{ env }}" | 13:47 |
| ara-slack | But the label {{ client }} is shown instead of value of the ansible variable, and are shown only if task is runned, not skipped for example with --check | 13:47 |
| dmsimard | ah yeah there is an issue about templating labels as well: https://github.com/ansible-community/ara/issues/180 | 13:48 |
| dmsimard | where do the client and env variables come from ? | 13:48 |
| ara-slack | christophe.delarue: @dmsimard We have one inventory per client / env. | 13:51 |
| ara-slack | We set those ansible variables in inventory | 13:51 |
| dmsimard | makes sense | 13:52 |
| dmsimard | this is the issue about setting labels from inventory variables: https://github.com/ansible-community/ara/issues/139 | 13:52 |
| ara-slack | christophe.delarue: Workaround I use : I added the inventory argument in ARA_ARGUMENT_LABEL, so I can see which client/env is targeted as the inventory name contains the information, ARA_ARGUMENT_LABELS=inventory,remote_user,check,tags,skip_tags,subset | 13:54 |
| dmsimard | in integration tests we template labels like this https://github.com/ansible-community/ara/blob/master/tests/zuul_metadata.yaml and then set them here: https://github.com/ansible-community/ara/blob/1b848c7c3617f7163a64113d4e2e0c76230a3e19/tests/test_tasks.yaml#L79 | 13:56 |
| dmsimard | but that works mostly because we run ansible... with ansible | 13:57 |
| tykling | *head explodes* | 13:58 |
| dmsimard | yeah zuul which runs the integration tests runs ansible which installs and runs ansible to test ara :p | 14:00 |
| *** TKersten has quit IRC | 15:35 | |
| *** mgariepy has quit IRC | 15:58 | |
| *** mgariepy has joined #ara | 16:37 | |
| *** sshnaidm|ruck is now known as sshnaidm|afk | 17:47 | |
| *** maiseycorne has joined #ara | 17:48 | |
| *** cristobal44 has quit IRC | 18:00 | |
| *** maiseycorne has quit IRC | 19:00 | |
| *** dbpiv has quit IRC | 20:36 | |
| *** dbpiv has joined #ara | 20:39 | |
| *** ccamacho has quit IRC | 20:48 | |
| *** gvincent has quit IRC | 21:04 | |
| *** dbpiv has quit IRC | 21:41 | |
| *** etienne has quit IRC | 23:21 | |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!