-
Notifications
You must be signed in to change notification settings - Fork 5
Setup windows server as ad dc #56
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
base: master
Are you sure you want to change the base?
Conversation
Looks good but I will approve after trying whether that actually works. |
One task failed in a test run.
Let's talk it over next business day. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TASK [Setup chocolatey] ************************************************************************************************
fatal: [4.241.169.203]: FAILED! => {"changed": false, "module_stderr": "", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Could you check over this failed task?
The error around Chocolatey looks to be solved by changes in #59. |
I will try it after merging PR #59. |
A temporary test run failed with an error below:
|
Running
However this may not be a problem as I think ansible tasks are not idempotent differing from terraform recipes. |
a3b9813
to
33e5692
Compare
This looks happen due to unresponsive server for a while after reboot. We need to run it with some more delay. |
Hmm. This error does not happen on my environment. |
After some retrying I've realized that Windows is restarted by Ansible itself and we need to wait until reconnected whether AD DC promotion is proceeded or not. The commit d8907bc applies "ansible.builtin.wait_for_connection" before further operations. |
In a test run a subsequent task failed.
|
Seemingly an unintentional \r\n is inserted. |
This adds some tasks to setup a Windows Server VM as an Active Directory Domain Controller. Those added tasks are skipped for non-server Windows clients.