diff options
author | heqnx <root@heqnx.com> | 2025-07-17 18:08:37 +0300 |
---|---|---|
committer | heqnx <root@heqnx.com> | 2025-07-17 18:08:37 +0300 |
commit | cbd285087e710a265bdddfb4521a39a57bc8702c (patch) | |
tree | f95919e8eba622b8a517ffa20a6880bd88cc5e03 /ansible/roles/dc02/tasks/setup_tree_domain.yaml | |
parent | 156f392cd059a4f0de0b8ba2443eb2eeb1e1c41a (diff) | |
download | ansible-active-directory-range-cbd285087e710a265bdddfb4521a39a57bc8702c.tar.gz ansible-active-directory-range-cbd285087e710a265bdddfb4521a39a57bc8702c.zip |
added tree and child domain
Diffstat (limited to 'ansible/roles/dc02/tasks/setup_tree_domain.yaml')
-rw-r--r-- | ansible/roles/dc02/tasks/setup_tree_domain.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ansible/roles/dc02/tasks/setup_tree_domain.yaml b/ansible/roles/dc02/tasks/setup_tree_domain.yaml new file mode 100644 index 0000000..2067844 --- /dev/null +++ b/ansible/roles/dc02/tasks/setup_tree_domain.yaml @@ -0,0 +1,9 @@ +- name: execute setup-tree-domain.ps1 + ansible.windows.win_shell: > + powershell.exe -ExecutionPolicy Bypass + -File C:\scripts\setup-tree-domain.ps1 + -ParentForestRootDomain "{{ main_domain_name }}" + -NewTreeDomainName "{{ tree_domain_name }}" + -SafeModePassword "P4ssw0rd1234!" + -Username Administrator + -Password "{{ default_win_password }}" |