15:02:37 #startmeeting Ansible Core Meeting 15:02:37 Meeting started Thu Apr 20 15:02:37 2017 UTC. The chair is gundalow. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:02:37 Useful Commands: #action #agreed #halp #info #idea #link #topic. 15:02:37 The meeting name has been set to 'ansible_core_meeting' 15:03:10 #chair abadger1999 alikins bcoca funzo ganeshrn jimi|ansible nitzmahone Qalthos ryansb shertel trishnag 15:03:10 Current chairs: Qalthos abadger1999 alikins bcoca funzo ganeshrn gundalow jimi|ansible nitzmahone ryansb shertel trishnag 15:03:21 Hi 15:03:30 hello 15:03:56 #info Agenda https://github.com/ansible/community/issues/159 15:04:55 Boop 15:06:16 Just been looking at the minutes from Tuesday, I don't see anything that's progressed 15:06:19 so 15:06:20 #topic Open Floor 15:06:48 Anyone got anything? 15:06:58 If not I have some questions for London Contributor Fest 15:07:49 I have something 15:08:07 The last agenda item (meeting frequency) 15:08:23 updated nickname :) 15:08:24 itdependsnetwork: what's your topic 15:08:28 +1 15:08:34 one line summary so I can set the topic 15:08:36 please 15:08:51 What is Ansible's recommended method of distributing custom modules? 15:09:02 #topic Ansible's recommended method of distributing custom modules? 15:09:09 In regards to Issue #20702 and subsequent PR #20717. Just trying to get an understanding of Ansible's recommended method of distributing custom modules? The last I heard, that though this was only introduced in 2.1, it would be 5 revisions (including 2.3) until it is fixed. 15:09:43 ah, this is Module namespace conflicts "setup.py" in particula 15:09:51 r 15:10:18 correct, so the best I know is pip is out of the question 15:10:52 bcoca's comment of https://github.com/ansible/ansible/issues/20702#issuecomment-276518779 is a good summary 15:10:55 Difficult to easily let users ensure requirements are met whithout it 15:11:48 * gundalow differs to people that know Python better 15:12:56 So I'll hold my hand up and say I'm not sure how/why people hit thsi 15:13:01 this* 15:13:29 ansible-pkgmgr 15:13:30 Are people creating modules called "setup" 15:13:38 I know why, and a fix is in, it's just going to be years until it is fully implemented (the best I understand it) 15:13:50 gundalow: no, setup issue is cause that is what setup_tools uses for install script 15:14:00 ah because https://github.com/networktocode/ntc-ansible/blob/master/setup.py exists 15:14:14 https://github.com/ansible/ansible/pull/20717 15:14:16 which is what pip/setuptools? use 15:14:34 people do override setup (to make custom fact gathering) but it is very rare 15:14:37 correct, I do not believe there is an alternate 15:14:41 ^ main issue is sovled by PR above 15:15:15 but still does not fix 'module/plugin' distribution as pip is insufficient 15:15:23 itdependsnetwork: stupid question, can this be fixed by changing where/what ntc-ansible dumps itself so setup.py isn't under library? 15:15:31 @bcoca: agreed, but I remember someone saying it would be 5 releases until it is actually fixed 15:15:41 gundalow: no, cause ansiballz requires this 15:15:54 itdependsnetwork: if all goes well .... 15:16:03 right now 'roles' are only way to distribute plugins/modules 15:16:13 but not requirements 15:16:15 cd ~/src/ansible-modules 15:16:20 git clone https://github.com/networktocode/ntc-ansible --recursive 15:16:34 itdependsnetwork: depends on how you write the role ... 15:16:46 fair enough 15:16:58 ^ i think i just figured out how to do ansible-pkgmgr w/o actually writing it ..... 15:17:09 should not speak in superlatives 15:17:10 roles as packages that execute themselves to install ... 15:17:18 I was not aware of a way 15:17:47 * bcoca is on caffine withdrawl so might be rambling right now 15:18:21 talking about: https://github.com/mantiz/ansible-library-pkgmgr ? 15:19:49 nope 15:19:54 im not 15:20:22 you mind pointing me to a link? 15:20:23 ^ btw, package module alreayd does that 15:20:38 itdependsnetwork: i dont have 'link to thoughts' working yet 15:20:59 itdependsnetwork: ansible-pkgmgr is my 'current name' for a 'ansible plugin installer' 15:21:07 bcocabrain://ansible/module-packager 15:21:19 @nitzmahone: lol 15:21:19 ^ 403 15:21:47 401 15:21:54 ok, got it. to go back to "depends on how you write the role .." 15:22:01 how can I write the role? 15:23:00 role is actually an installer 15:23:12 so fetch + run role, installs plugins 15:23:39 ^ i think i just fixed all my issues with ansible-pkgmgr 15:23:54 my issues as well? 15:24:08 * gundalow locks bcoca in a room (with coffee) so he can write this up 15:25:52 itdependsnetwork: that is beteween you and your therapist 15:26:00 lol 15:26:19 but yes, it should .. and much sooner than 5 releases 15:26:30 for that ntc-ansible case, my suggestion would be to just add /path/to/ansible-ntc-repo/library/ to ansible module path 15:27:54 still have an issue there :) there is a submodule that also has setup.py in it 15:28:42 rm setup.py 15:29:36 back in a minute, just grabbing a drink 15:29:45 make mine a scotch! 15:31:01 don't want to derail further, I know how to fix the issue on an individual basis. Just not very easy to let users know. 15:31:06 back 15:31:13 bcoca: once you write it up 15:31:30 If ansible-pkgmgr is the answer, that is fine 15:32:00 #action bcoca to write up his new idea roles as plugin installers (not installing and referencing role, but fetching and running role and have role itself install plugins and deps). means ansible-pkgmgr does almost nothing (fetch role which galaxy already does) + run it leave all logic up to role 15:32:06 #info rm setup.py? 15:32:12 Just trying to communicate the issues seeing on my end (and a bunch of other's as I see in a issue search) and find out the recommended way 15:32:23 #info for that ntc-ansible case, my suggestion would be to just add /path/to/ansible-ntc-repo/library/ to ansible module path 15:32:31 itdependsnetwork: It's a good question 15:32:36 itdependsnetwork: if/when i merge the gather_facts rename, that issue should go away 15:32:57 but I thought someone indicated 5 releases? 15:33:01 is that not the case? 15:33:07 5 releases = 2.5 years? 15:34:00 itdependsnetwork: that was me thinking of when i could have a good enough package manager created 15:34:41 from Mar 9: "or anyone can you confirm that the issue of name space over "setup.*" will exist for the next 4 versions? referring to -> https://github.com/ansible/ansible/pull/20717" 15:34:43 creating another package manager is rarely the answer to any problem 15:34:52 "<@bcoca> probalby 5 as that is not getting merged for 2.3" 15:35:11 agaffney: +1 15:36:26 agaffney++10 15:36:30 Anything else on this topic? 15:36:36 good for me 15:36:41 cool 15:36:43 bcoca: invalid syntax 15:37:09 #topic AnsibleFest Contributors Summit 15:37:52 #info There will be an all day Contributors Summit the day before London AnsibleFest, people can attend in person or remotely for all/part 15:38:04 #info If you think you can make it in person please ping me directly 15:38:27 #info we will soon be asking for topics for the agenda, so have a think 15:40:06 Likewise if you have any ideas feel free to let me know 15:40:53 #info Previous Contributor Summit agendas & minutes can be found at https://github.com/ansible/community/blob/master/MEETINGS.md#past-in-person-meetings 15:41:03 Anyone got anything to add on that? 15:42:00 #topic Open Floor 15:42:06 Anything else? 15:42:23 meeting calendar 15:42:45 #topic IRC Meetings 15:43:03 seems these meetings have less and less attendance, i move we go to weekly instaead of biweekly 15:43:04 #info Does this schedule work for people, do we need to change it? 15:43:27 ^ with rotating 'time zone' friendly schedule 15:43:54 The Tue & Thursday core meetings seem fairly close, maybe they should be pushed earlier/later in the day 15:44:17 maybe some sort of (doodle) poll to see what people think 15:44:59 itdependsnetwork: agaffney Are the two non-core people here, what do you think? 15:45:29 I'm not on too much, but makes sense to me :) 15:47:03 the schedule of the core meetings work for me, but I don't always attend. I only show up if I have something in particular to talk about or am bored and see a meeting is going on 15:48:22 agaffney: So you look at the GitHub emails regarding what people add to the issue? 15:48:52 nope, it's usually when it's something that I've proposed or just saw talk about in #-dev 15:49:00 ACK 15:49:44 today is a "I was bored and saw there was a meeting going on" day 15:51:35 :) 15:54:04 #info Need to create a poll and ask the community, needs more thought 15:55:24 Guess we are done 16:00:17 Thanks everyone! 16:00:20 #endmeeting