15:30:56 #startmeeting Docs Working Group 15:30:56 Meeting started Tue Jan 15 15:30:56 2019 UTC. 15:30:56 This meeting is logged and archived in a public location. 15:30:56 The chair is samccann. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:30:56 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:30:56 The meeting name has been set to 'docs_working_group' 15:31:10 hello!! Anyone around today? 15:32:32 no 15:32:55 heh quite possibly! 15:32:57 o/ 15:33:24 hi Pilou ! 15:34:34 about #50278: differences between role vars and role params should be documented :) 15:34:52 #chairs Pilou 15:35:02 hmm maybe it's singular... 15:35:03 and should not role params be used in the documentation (instead of role vars) ? 15:35:04 #chairs 15:35:10 #chair 15:35:10 Current chairs: samccann 15:35:19 #chair Pilou 15:35:19 Current chairs: Pilou samccann 15:35:40 #topic Role vars vs role params 15:37:01 #link https://github.com/ansible/ansible/issues/50278 15:37:09 sorry took me a bit to find it 15:37:35 before #37844, role params were used. Because "name" can be used as a role parameter, i am not sure to understand why this was changed ? 15:38:33 I don't know if there are enough people around this am to provide context here 15:41:48 i'm thinking there aren't enough people around to have this meeting today. if no one pipes in in the next couple of minutes, I'll end it. Sorry Pilou 15:43:38 * gundalow waves 15:43:42 np :) 15:43:54 Other meeting has just finished, appologies for the delay 15:44:03 np 15:44:09 #chair gundalow 15:44:09 Current chairs: Pilou gundalow samccann 15:44:28 any clues on Pilou's question? 15:44:36 * gundalow reads 50278 15:45:07 Whatever the answer we needs docs and tests added to defend the "correct" behaviour 15:47:39 so it's currently a coding bug. We can watch it for whatever ends up the resolution and append a doc PR to it once the issue is addressed 15:47:53 samccann: yup, that makes sense to me 15:48:45 I might be a coding bug, 15:49:33 yeah I added a comment to say we need to document whatever results from this. the triage label was removed a few days ago, so hopefully someone is taking a look 15:49:47 but the main point is that "role params" differs from "role vars" and that seems unexpected because not documented 15:50:09 #info there will be a documentation change needed based on issue #50278 (once it is resolved) 15:50:58 but if it is a bug of some sort, do we change documentation now, or wait for the bug to be fixed? 15:51:41 i mean: the special behavior mentioned here https://github.com/ansible/ansible/issues/50278#issuecomment-450927689 is a small thing compared to "role params" vs "role vars" 15:52:55 ok I don't really follow the differences, but are you suggesting there is a separate doc issue that needs to be documented regardless of that potential code bug? 15:53:26 yep 15:54:14 the 2nd bullet point in summary of the issue 15:56:13 actually i believe that is a bug 15:56:29 if set in vars: it should not persist across role invocations 15:56:34 #chair bcoca 15:56:34 Current chairs: Pilou bcoca gundalow samccann 15:56:45 so i dont think we need to document, but fix the issue 15:58:09 you mean that "role vars" should be the same than "role params" ? 16:01:20 no 16:01:30 role params would bleed, vars: should not 16:01:43 * bcoca really wants to kill role params ... 16:02:53 so they are two different things, but perhaps the docs don't make that clear? 16:04:31 i dont think we've ever correctly documented role params 16:05:35 meanwhile a fix for this issue, should not the doc switch back to "role params" ? 16:05:41 hi. sorry for being late! 16:09:44 any thoughts on the current topic ' role params vs role vars? 16:10:11 hum, what's the `-` on https://docs.ansible.com/ansible/devel/modules/include_role_module.html between `apply` and `added in 2.7`? 16:10:54 gundalow: that's the type 16:11:01 which isn't specified 16:12:55 (I think it's the result of https://github.com/ansible/ansible/pull/49966) 16:18:36 ok not sure if we decided role param vs vars requires a doc update or not... 16:21:18 bcoca: could be switch back to "role params" in all examples and use "role vars" once this issue has been fixed ? 16:24:09 because current example with "vars" - for example the one with "foo_app_instance" called twice with different parameters - doesn't work as expected 16:27:16 gundalow: do we ever put notes in documentation to say see issue XXX because things aren't working as expected yet? 16:31:34 well, sorry folks... we've run out of time and I don't think we really resolved this discussion... 16:32:07 #endmeeting