20:01:04 #startmeeting Ansible Windows Working Group 20:01:04 Meeting started Tue Aug 6 20:01:04 2019 UTC. 20:01:04 This meeting is logged and archived in a public location. 20:01:04 The chair is jborean93. Information about MeetBot at http://wiki.debian.org/MeetBot. 20:01:04 Useful Commands: #action #agreed #halp #info #idea #link #topic. 20:01:04 The meeting name has been set to 'ansible_windows_working_group' 20:01:11 hey jborean93 20:01:16 sorry about last week I was sick and decided to sleep in a bit 20:01:19 hey 20:01:27 no worries hope you are all well again now 20:01:28 #chair jhawkesworth Shachaf92 20:01:28 Current chairs: Shachaf92 jborean93 jhawkesworth 20:02:06 * jhawkesworth checks agenda 20:02:13 I believe it's just me today, nitzmahone is travelling to London so travel time and timezones may not be the best for him for a few weeks 20:02:45 oh yeah don't envy him the jetlag 20:03:20 8 hours the 'wrong' way. 20:03:34 did we get to here? https://github.com/ansible/community/issues/420#issuecomment-516565410 20:04:24 one above i think 20:04:25 I believe https://github.com/ansible/community/issues/420#issuecomment-516376057 is first 20:04:35 #topic https://github.com/ansible/community/issues/420#issuecomment-516376057 win_data_deduplication 20:04:51 this sounds familiar, didn't we have a module that did something like this already in a PR? 20:05:16 maybe because if the the issues in find? 20:05:19 I don't recall one from before 20:06:12 ah wait that was `win_compact` or something 20:06:53 need to add it to the list of things to review and go through it when I have time 20:07:05 yeah you are right.. https://github.com/ansible/ansible/pull/56475#issuecomment-492756926 20:07:41 has tests so just needs a standard review unless someone has something they want to add let's move on 20:08:19 ok 20:08:23 #topic https://github.com/ansible/community/issues/420#issuecomment-516565410 20:08:37 more reviews 20:09:56 should https://github.com/ansible/ansible/pull/57902/files#diff-30c11df7691ee0c89aa924eaf5a58396R48 include removable drives? 20:10:11 I would suggest we just use Local disks (3) 20:10:16 https://github.com/ansible/ansible/pull/57902 still looks good to me. dont have any s2019 to test against at the moment though so seems reasonable to wait for feed back from @spectator 20:10:52 * jhawkesworth cannot remember last time I defragged a drive 20:11:00 it's automatic since Vista days 20:11:17 Change to only local drives? 20:11:34 that's my suggestion, what do you think 20:11:43 If im not mistaken /C included non local and that is why i added it 20:12:08 since we want it to act as /C would have acted 20:12:34 have you confirmed that? 20:13:31 on my laptop it did include a removable disk i inserted 20:14:18 The problem was it didn;t include c: if im not mistaken 20:14:24 anything else worked 20:14:40 everything* 20:14:50 only remaining spinning disks I have are external drives now. If we are going to have it, not sure we should enforce arbitrary limits. 20:15:36 I suppose I should just test it out myself as well see if I can replicate that issue on 2019 20:16:20 For https://github.com/ansible/ansible/pull/58887, we should be adding a warning if the path does not exist 20:17:01 the other 2 just needs the standard review 20:17:50 does teh linux setup add a warning? 20:18:19 not sure but that's a change in behaviour to the existing windows setup module which is a stable interface 20:18:51 I would even argue that silently ignoring a missing file is wrong if that's how the Python setup module works 20:19:30 k, ill add a warning 20:19:48 local facts are optional though 20:20:53 it's still a change in behaviour. I also dislike silent ignores 20:21:27 Makes it hard for people to debug issues when they act up, e.g. having a warning would tell the suer that the path they set does not exist so they can see that the path was set properly but the issue exists on their host 20:22:38 ok fair enough as long as its only a warning if you have specified a local facts path 20:22:54 added it to the PR now 20:22:58 cool 20:23:09 looks like the next one is just a ping for the data deduplication module 20:23:17 nice 20:23:21 and chopraaa is not here to talk about his last comment 20:23:26 yep, already discussed 20:23:46 hard for chopraa due to timezones 20:23:52 yea 20:23:57 wanted to add something, 2 actually 20:24:23 fire away 20:24:37 this - https://github.com/ansible/ansible/issues/59829, and soem issues on the win_domain_user one regarding the samaccountname 20:24:58 let's start with 59829 20:25:05 k 20:25:36 i think it should be a request to backport a feature to 2.8 but no one replied there 20:26:03 feel free ot backport, the PR that fixed this is definitely a bug fix and should be backported 20:26:15 the only thing you need with a backport is a changelog entry 20:26:53 also there's no need to request a backport, just do one and the release manager will either accept or reject it when they go to merge the backports 20:26:53 there is one in the PR, ill backport later 20:27:01 k 20:27:29 the main thing we don't backport is PRs that add new options 20:27:30 btw CI is acting up right now 20:27:56 define acting up? 20:28:30 doesn't work lol 20:28:33 at all 20:28:55 like it isn't being triggered 20:28:57 seems like it can't clone repos 20:29:01 ahh yea 20:29:14 I think GitHub is having issues right now, there have been reports of merging not working 20:29:44 just need to give it time and trigger a new runonce that passes 20:30:20 yeah, just thought i would let you guys know 20:31:07 thanks 20:31:14 what was the win_domain_user issue you wanted to talk about? 20:31:58 sec ill post the links 20:32:06 this one? https://github.com/ansible/ansible/issues/59485#issuecomment-514438027 20:32:37 yeah and there is anotehr one 20:32:58 https://github.com/ansible/ansible/issues/44757 20:33:25 and another https://github.com/ansible/ansible/issues/45298 20:33:41 ah that old chestnut 20:33:50 so sounds like 2 issues 20:34:04 1. the defaults result in a user that doesn't comply with MS guidelines 20:34:04 2 of the 3 are samaccountname stuff the other one is another issue, i wanna get your input and maybe work on this on the weekend 20:34:18 that 2. we cannot easily rename an account 20:34:41 unless I'm misreading soemthing 20:36:09 sounds like 2 could be fixed with examples showing you have to state=absent and state=present to change, perhaps (not module I am using, sorry) 20:36:40 that's not the best idea as it would result in a completely different SID, breaking any mappings that exist for that user in the domain 20:36:56 fair enough 20:37:01 1 should be easy to fix by changing the behaviour 20:37:20 2 is a lot harder as we need a way to uniquely identify the account so we cna change the sAMAccountName attribute 20:39:02 would having an optional parameter which is used to uniquely identifier user by some attribute be an option? 20:39:20 (i know so little about AD, sorry if this is a daft idea) 20:39:34 we can change the module to use the SID / GUID 20:39:57 some say that if they use the GUID and not the name to chagne the sam it works 20:40:02 I think having the optional parameter `id` that takes in the SID or GUID might be a better idea 20:40:12 the question is what does `name` relate to 20:40:25 and whether we should allow `name` to be the ID or SID of the account 20:42:19 if this comments is correct, looks like name is a 'friendly name' rather than any kind of unique identifier: https://github.com/ansible/ansible/issues/45298#issue-472029975 20:42:28 everytime we call `Set-ADUser` we should be either passing in the suer object or use the GUID to reference the account. It's only when we create or get the user should `name` be used 20:43:02 looking at the code we do `Set-ADUser -Identity $username` where `$username` is the `name` module option 20:43:05 that is wrong 20:43:29 ok so ill do the changes and well see how it goes 20:43:45 sounds good, I'm sure there will be a few iterations you will have to go through 20:44:22 yep 20:44:41 i have a list of stuff to work on, been a busy time at work, haven't gotten around to 90% 20:45:17 sounds like my life right now, haven't been able to focus on the WIndows stuff as much as I want to 20:45:38 everybody's busy 20:46:25 yep, ill have a short vacation soon and i think ill give it a push then 20:46:25 I was going to say, I need to step back from ansible contribution for a bt. Lots going on away from the keyboard at the moment. I'll be back in the saddle in September though 20:47:00 I've got potential Jury Duty so I might be forced to step away from the keyboard 20:47:13 thanks, appreciate all the work you are doing on PRs Shachaf92 20:47:24 yep they have been fantastic 20:48:55 no problem 20:48:59 a pleasure 20:50:24 cool unless there is nothing else to discuss let's get back onto our day 20:50:43 and night ;) 20:50:51 nothing here 20:51:03 thanks all, have a good one 20:51:16 cool, thanks all 20:51:18 #endmeeting