Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad conditionals make Backup Domain Controllers evaluate Member Server rules rather than Domain Controller rules #23

Open
mfann-or opened this issue May 1, 2023 · 0 comments · May be fixed by #25

Comments

@mfann-or
Copy link

mfann-or commented May 1, 2023

Here is one example of many where the role needs to update this conditional to account for Backup Domain Controllers.

Issue:

Bad conditionals make Backup Domain Controllers evaluate Member Server rules rather than Domain Controller rules

Possible Solutions:

  1. The conditional could use the same Ansible fact, but change the logic.
when:
  - "'domain controller' in ansible_windows_domain_role"
  1. The conditional could use a different Ansible fact that is the same across Domain Controller types.
when:
  - ansible_os_product_type == "domain_controller"
mfann-or added a commit to mfann-or/Windows-2019-STIG that referenced this issue May 1, 2023
mfann-or added a commit to mfann-or/Windows-2019-STIG that referenced this issue May 1, 2023
Signed-off-by: mfann <mfann@origamirisk.com>
MikeCantCode added a commit to MikeCantCode/Windows-2019-STIG that referenced this issue May 1, 2023
Signed-off-by: GitHub <noreply@github.com>
@MikeCantCode MikeCantCode linked a pull request May 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant