20:00:00 #startmeeting Ansible Windows Working Group 20:00:00 Meeting started Tue Aug 25 20:00:00 2020 UTC. 20:00:00 This meeting is logged and archived in a public location. 20:00:00 The chair is jborean93. Information about MeetBot at http://wiki.debian.org/MeetBot. 20:00:00 Useful Commands: #action #agreed #halp #info #idea #link #topic. 20:00:00 The meeting name has been set to 'ansible_windows_working_group' 20:00:07 boo-yah 20:00:09 NOICE 20:00:20 #chair nitzmahone 20:00:20 Current chairs: jborean93 nitzmahone 20:00:23 jborean93 got skilz 20:00:40 * jhawkesworth lurking 20:00:56 howdy 20:01:36 Clash with kids bedtime so only half looking tonight 20:01:41 no worries 20:02:09 I've got nothing special to add myself 20:02:41 Ditto. Having interesting convo with an internal Red Hat team about ways to do platform-agnostic modules 20:03:14 (basically "ew, do we really have to write PS to work on Windows?") 20:03:37 well we would have to add a lot of import guards to basic.py to get that even loadable on Windows 20:04:04 it would be doable but I would be reluctant to look into that without making sure we start testing that 20:04:50 Yeah, if they wanted to do something like pyoxidizer, I was going to suggest they just skip AnsibleModule altogether and treat it like a binary module on Windows 20:05:13 So same codebase under the covers, but skip most/all the module_utils magic 20:05:29 (or at least skip it on Windows) 20:05:37 with binary modules you run into the problem of making sure it is compiled for that platform 20:06:00 Yeah, but they're only doing Linux + Windows IIRC, so should be fine there 20:06:16 (just ship the compiled bits for Windows and explicitly load them from their custom action) 20:07:02 It'd be "fun" to resurrect the C# module stuff for POSIX, but I don't think it's hot enough to warrant an official project right now 20:07:32 (might be better as a side project with ansible_platform and pluggable exec subsystems) 20:07:38 yea as you said in that email, I wouldn't be interested until we have more of the exec subsystem in place 20:08:36 the prototype I had before was really just a "plugin" to the Windows exec scripts, would be nice to have that as an official plugin in Ansible that isn't Windows specific 20:08:52 I think someone had crusty pwsh modules (as binary/script via shebangs) working on Linux, so that might be an option as well 20:09:04 it works today, you just have no module utils 20:09:28 So that might be an option as well 20:09:31 plus IIRC you needed to set `TERM=basic` to avoid pwsh/.net adding some ANSI sequences to the start of the output 20:09:42 ick 20:09:47 no idea if that's still a problem 20:10:03 Probably- I definitely remember tripping over that issue 20:10:08 https://github.com/ansible/ansible/issues/48881 20:10:34 I had an example of using pwsh with shell, script, and a module there 20:11:42 Well anyway, nothing official from me today- just a little Windows tidbit that I thought was interesting from this morning 20:13:23 #topic open floor 20:13:39 (if it wasn't already obvious ;) ) 20:15:15 * nitzmahone eyes kitchen hungrily 20:15:29 closing in 2min if nothing new 20:15:42 Nothing from me, let nitzmahone get fed! 20:15:47 :D 20:16:03 I'm good as well 20:16:23 OK, til next week- thanks all! 20:16:25 #endmeeting