Closed murrahjm closed 1 year ago
@murrahjm, Thanks for letting me know. I have a different solution that I'm testing right now. Basically that prelim made how I handled the DC, DM, secondary DC, etc. not consistent. So I'm working on a more consistent way of dealing with that. I'm building my test setup to make sure it works, confirm no typos or anything. I should have fix for this in the devel branch at some point this morning. Thanks again for raising this one.
-George
@murrahjm, I have a fix in the issue_63_fix branch that fixed the issue on my side. Would you be able to run it from that branch and confirm it's fixed on your side? If it's fixed I'll merge it through.
-George
@georgenalen looks like you have a typo here:
nansible instead of ansible
Bah, it's fixed. Thanks for catching that one.
-George
just ran a test on a 2019 domain joined server, finished with no errors.
Describe the Issue Task 2.3.6.1 fails on a domain joined server with the error that win2019cis_is_standalone is not defined. This variable is checked in the
when
clause for the taskChecking the prelim.yml file, the variable is set to true for workgroup machines, but does not appear to be set to false anywhere.
Expected Behavior The task should process correctly for a domain joined machine
Actual Behavior The conditional - not win2019cis_is_standalone fails with a
not defined
error message.This variable is set in the prelim tasks but only for a stand-alone server.
This either needs to be set to false for a domain-joined machine, set to false in a defaults file, or set to false elsewhere, or the task needs to have a default value in the conditional.
Control(s) Affected 2019 playbook will not run to completion on a domain joined machine
Environment (please complete the following information):
Additional Notes Anything additional goes here
Possible Solution