19:05:38 #startmeeting Ansible Core Team Meeting 19:05:38 Meeting started Tue Mar 27 19:05:38 2018 UTC. The chair is gundalow. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:05:38 Useful Commands: #action #agreed #halp #info #idea #link #topic. 19:05:38 The meeting name has been set to 'ansible_core_team_meeting' 19:05:39 Different ideas for doing the same things ;-) 19:05:49 #chair funzo gundalow maxamillion abadger1999 thaumos 19:05:51 #chair funzo gundalow maxamillion abadger1999 thaumos bcoca 19:05:51 Current chairs: abadger1999 bcoca funzo gundalow maxamillion thaumos 19:05:55 heh 19:05:59 .hello2 19:06:00 sivel: sivel 'Matt Martz' 19:06:02 #bench ? 19:06:03 * gundalow backs aways from from keyboard 19:06:07 #chair sivel 19:06:07 Current chairs: abadger1999 bcoca funzo gundalow maxamillion sivel thaumos 19:06:21 You know what, for an automation company, it's a bit crap we haven't automate dthis 19:06:53 we have automated everything except making people show up 19:07:12 gundalow: :) 19:07:19 bcoca: fair point 19:07:24 im grafting a hacksaw to my roomba as a prototype to automate that last step 19:07:59 #topic https://github.com/ansible/ansible/issues/22025 19:08:21 to set fact or not to set fact? 19:08:48 ^ this one requries one of 2 fixes, a) change varsmanager to actually match docs, b) change docs to match var manager 19:09:02 currently I have PR for a) but am leaning towards b) 19:09:04 I'd just call it a feature at this point 19:09:12 ^ that is a b vote? 19:09:16 yes 19:09:59 anyone else want to weigh in? 19:10:38 no real view 19:10:39 I'll vote for B as well 19:11:13 @jimi|ansible ? 19:11:39 * sdoran reading 19:11:47 (too many meetings, sorry) 19:12:02 AA will hae to wait 19:13:24 ok, so my count is a == 0, b == +4, if no one else ojbects i'll close my current PR and open new one to update docs 19:14:29 closing this, next topic 19:14:40 #topic https://github.com/ansible/ansible/pull/37883 19:14:47 for #22025, one thing that would mitigate some of the pain would be better info about where var values come from 19:15:04 ^ trond was adding 'do not print' list for a specific callback, i added to meeting to ask, should this be a global setting? 19:15:25 Seems nice, needs a revision that was ignored (isinstance instead of type), def should be globally accessible 19:15:55 should probably more closely match password cleansing with **** 19:16:07 alikins: its clear where they come from, people just disagree on which should win 19:17:12 ok so +2 for making general/global, anyone against? 19:17:16 i'm here finally 19:17:40 and actually, we have some similar recursive code that uses dict/list that can simplify that a little (rekey_on_member) 19:18:09 sivel: do you want to do the general reimplementation? 19:18:19 not really :) 19:18:24 +1 for the concept 19:18:39 +1 to the concept as well, just offering additional insight 19:18:43 * bcoca must put more leaves on top of trap 19:18:56 +1 19:19:00 trond started it, have him work on it 19:19:10 k, so +4 to generic implementation and 0 against 19:19:19 #topic https://github.com/ansible/ansible/pull/37638 19:19:31 sivel: point him at the function and then needs_revision it 19:19:33 @Sieben_ ? 19:20:23 new module 19:21:23 Re: 37883... note that it could be a performance pit. 19:21:33 core is not a good function name imo 19:21:34 pilou seems to have reviewed, not sure what it was put into meeting for 19:21:39 and also, you'll need to code it to use iteration instead of recursion. 19:22:11 @abadger1999 leave note on ticket, specially since you did very similar already for module 'no_log' cleanup in results 19:23:59 so since author does not seem to have come to meeting and i got no clue on what we are supposed to debate about it, closing this topic in 10s 19:24:13 #topic open floor 19:24:24 anyone have anything to discuss? 19:24:36 docs are still in flux, mainly redirects 19:25:10 #info 2.5 docs are not live yet, working on redirects before redeploying to live 19:25:47 if nothing else, i'll close meeting in 1min 19:25:55 i think they are "live", just have some residual issues with redirects from stuff like google search results 19:26:04 IRT 22025, I vote A, change behavior to match docs. I expect set_fact to override things. 19:26:06 (sorry for lag) 19:26:31 @sdoran k, did you see my example on what happens if we make that change? 19:26:59 Yeah, I was trying to grok that fully but I don't think I do. 19:27:22 that the vars and inline vars passed AFTER the set_fact get overriden by the set_fact 19:28:02 since our vars system depends on origin > order, set_fact becomes one of the highest precedence and cannot really be overriden except by another set_fact 19:28:12 aside from 'extras' which overrides all 19:28:49 Oooo, I see. 19:29:04 Yeah, that's tricky. 19:29:31 yeah, that bug is going to get long in the tooth if it's "fixed" ... I think the unintended implications of "fixing the bug" are going to be wide spread 19:29:33 That makes sense, but boy is that not intuitive. 19:29:36 its screwy either way, at this point i think more plays break by changing the code than updating the docs 19:29:49 how long has it been the way it is? 19:30:04 since dag introduced set_fact in 1.5? 19:30:05 (queue jctanner with ansible-test-versions :) ) 19:30:15 i was thinking it, but wasn't gonna say it 19:30:17 well, 'current precednece' is 2.1 19:30:19 er 2.2 19:30:23 changed from 2.1 to 2.2 19:30:45 also, precedence tests exist now, so ... 19:31:12 yeah, honestly it's been this way for basically forever (in Ansible time) so I'm sticking with my vote to update the docs 19:31:33 my plan, redo how vars work in ansible 3.0 19:31:38 So where does that put `set_fact` in the _actual_ hierarchy? 19:31:46 +100 19:32:10 1 step down 19:32:11 or 2 19:33:10 looks like mattclay moved it https://github.com/ansible/ansible/commit/8daa80e5bb8d6d02ece813d839b5b3abd228c5a5#diff-4d6233b0ed80fe74b3871f7e2d840656 19:33:29 k, even with the new vote, decision stands 4/1 19:36:26 I'm curious what jimi|ansible thinks about it, he seems pretty determined to "fix the bug" in the issue ticket 19:36:43 he also saw that the fix was not w/o consequences and backed off 19:36:52 bcoca: true 19:36:56 pinged him this week and he seemed on fence 19:37:04 rgr 19:37:50 if it's not directly related to openshift, we shouldn't be waiting on jimi to do much 19:37:56 for the time being 19:38:24 poke nitzmahone once he gets back 19:38:41 i'll poke both and reopen vote if i see they are both against 'update docs' 19:38:51 * bcoca grabs cowprod 19:39:01 oh, you have one of those too? 19:39:04 anything else? or should i end it now? 19:39:14 jtanner: integrated into the shovel's shaft 19:39:34 i have nothing ... except you should market that shovel + cowprod hybrid 19:40:13 bcoca: set_fact IMO was a misnomer and not what I wanted, in the end I made what M wanted 19:40:32 M? 19:40:39 set_var 19:41:02 I think that was the original name 19:41:11 dag: i know ... but still the issue is less the name and creating a 'new' entry in precednece, it should have either updated existing facts OR 'vars' 19:41:16 oh, our former bdfl ... i'm dumb, sorry 19:41:41 set_facts is 'moar corretz' as the var is 'host scopped' 19:41:43 bcoca: it's both the name _and_ how it works IMO 19:42:05 except we created 'new facts facility with diff precedence' .... that is what i foudn problematic 19:42:39 we can finally do this right with Ansible v3 :-P 19:42:50 isn't that what was said about v2? 19:42:57 jtanner: shhhht 19:42:59 heh 19:43:01 jtanner: we didnt get to variables in 2.x 19:43:08 3.x will be variables and roles 19:43:56 3.x will use Puppet nomenclature for everything 19:43:57 :-D 19:44:20 /kick dag 19:44:21 oops 19:44:36 too many preceeding spaces 19:45:34 * bcoca starts writing 'haskell version of ansible' 19:46:05 i guess that'll make the 4th or 5th implementation in recent times 19:46:23 python, groovy, golang already done 19:47:17 you are not counting the whitespace one in current code 19:47:40 k. .. this has driffted too much, going to end if no one has new topic in 1min 19:47:57 but but but ... 19:49:46 #endmeeting