15:03:30 #startmeeting Ansible Core 15:03:30 Meeting started Thu Jan 4 15:03:30 2018 UTC. The chair is gundalow. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:03:30 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:03:30 The meeting name has been set to 'ansible_core' 15:03:38 #chair maxamillion sivel 15:03:38 Current chairs: gundalow maxamillion sivel 15:04:05 .hello2 15:04:05 gundalow: [hellomynameis gundalow] 15:04:51 #info Agenda: https://github.com/ansible/community/issues/291 15:04:55 Pilou: Hi, you around? 15:05:07 Hi 15:05:24 abadger1999: you around (DEFAULT_MODULE_LANG and DEFAULT_MODULE_SET_LOCALE. MODULE_LANG) 15:06:04 jvanderhoof: Hi, you around? 15:06:08 i am 15:06:22 #topic Conjur Lookup Plugin #34280 15:06:27 #chair shertel jvanderhoof 15:06:27 Current chairs: gundalow jvanderhoof maxamillion shertel sivel 15:06:40 #info Conjur Lookup Plugin https://github.com/ansible/ansible/pull/34280 15:07:13 jvanderhoof: What would you like help with? 15:07:29 I see there are some review comments from Pilou that I believe still need addressing 15:07:35 I’d love some feedback 15:07:53 perfect. i’ll address those. once addressed, what’s the next step? 15:07:59 (first Ansible PR) 15:08:29 any examples of lookup plugins w/ unit tests? 15:09:04 I have some integration tests using Docker, which are run internally. I can use that as a jump off point. 15:09:52 I just added a number of additional necessary changes 15:10:08 jvanderhoof: example unit test https://github.com/ansible/ansible/tree/devel/test/units/contrib/inventory 15:10:08 thank you for the feedback! 15:10:27 thanks gundalow 15:10:55 Most welcome 15:11:35 If i get those changes in place today, should I reach back out to both of you for the next steps? 15:11:38 Unit test docs http://docs.ansible.com/ansible/latest/dev_guide/testing_units.html 15:11:45 Lookup plugin unit test too: https://github.com/ansible/ansible/blob/devel/test/units/plugins/lookup/test_password.py 15:12:04 shertel: urgh, thanks. It's a lookup, not a dynamic inventory 15:13:12 that password test looks much better. Should I assume you’d prefer I mock the network requests? 15:13:27 correct 15:13:37 thanks! 15:13:52 unit test (by defination) shuldn't need any external services, otherwise they would be integration tests 15:14:07 :) good point 15:14:31 @jvanderhoof Except I notice that example I pointed you to is using unittest, which we are moving away from. Just use pytest. 15:14:33 shertel: sivel Once the PR feedback is done and unit tests are added do you think it's good to merge (subject to final review) 15:15:17 Looks pretty good to me 15:15:22 short of understanding anything about conjur... 15:15:29 sounds good. I’ll get all comments addressed ASAP. 15:15:56 Conjur is a credential store, similar to HashiCorp Vault 15:16:45 I have more full documenation around setting up Conjur & Ansible. Is that something I can link to in the lookup plugin documentation? 15:17:20 Yup, you can do: U(https://example.com/docs/foo.html) 15:17:36 perfect. Thanks! 15:19:19 jvanderhoof: Any other things feel free to ask in #ansible-devel 15:19:42 will do. I appreciate the time this morning. I feel good about my next steps. 15:19:48 FYI 2.5 freeze will be 22nd Jan, so you should have time to get this in 15:20:11 * Pilou waves 15:20:12 cool. I’ll shoot for sooner rather than later to make sure it gets in. 15:20:19 Ace 15:20:28 jvanderhoof: Anything else on this? 15:20:33 #chair Pilou 15:20:33 Current chairs: Pilou gundalow jvanderhoof maxamillion shertel sivel 15:20:33 nope. i’m good 15:21:09 #topic Filesystem: refactor, improvements, add tests #25519 15:21:25 #info Filesystem: refactor, improvements, add tests https://github.com/ansible/ansible/pull/25519 15:22:08 Pilou: over to you 15:23:12 comments have been addressed, review is stalled since one month 15:24:09 * gundalow has triggered a shippable rerun on it 15:24:32 this PR miss 2.4 already, i would prefer not to miss 2.5 :) 15:27:25 Tests will fail after the re-run on the integration tests 15:27:32 Due to using tests as filters 15:28:10 Pilou: you can convert them using hacking/fix_test_syntax.py 15:28:31 yep 15:28:52 http://docs.ansible.com/ansible/devel/porting_guide_2.5.html#jinja-tests-used-as-filters for additional info 15:35:50 it should be ok now 15:42:52 sorry, was afk 15:45:04 Pilou: poke bcoca for final review 15:46:43 bcoca is going on vacation ... so alternate .... 15:47:00 Not sure who approved that :P 15:47:37 not as much approved as mandated 15:47:47 :) 15:48:10 Wonder how else can/should review 15:50:30 I'm in another meeting now, if someone could take over that would be great 15:53:18 #topic check_file_absent_if_check_mode in basic.py #33967 15:54:19 #info add and use check_file_absent_if_check_mode in lib/ansible/module_utils/basic.py https://github.com/ansible/ansible/pull/33967 15:54:56 feedbacks and reviews are welcome for this one too :) 15:56:18 In case nobody there, I will close this out at 16:00. 15:56:44 #info shertel to leave a review on https://github.com/ansible/ansible/pull/33967 15:57:06 #topic Open Floor 15:57:18 sivel, would you mind having another look at https://github.com/ansible/ansible/pull/33419 (keycloak_clienttemplate), where I applied fixes as requested in as far as it is possible; would like to get it merged before the freeze if possible :-) 15:58:27 (issue is that there is a sub-sub-option which is a freeform dict which cannot be enumerated completely since a.) it is user-extensible in keycloak and b.) there is no documentation apart from the source on possible options for the existing dicts) 16:01:09 * jtanner has been very distracted all morning 16:02:31 shertel: time to #endmeeting? 16:02:44 * shertel supposes so 16:03:09 #endmeeting