use variable for domain admin username

This commit is contained in:
abrown38 committed 2024-04-09 10:19:13 +00:00
1 parent 0c8a6eca3c
commit c8cb132124
2 files changed
+3 -1

No files matched your search

@@ -17,7 +17,7 @@
- name: Create 'Admin' user
community.windows.win_domain_user:
name: admin
name: "{{ domain_admin_username }}"
password: "{{ domain_admin_password }}"
state: present
password_never_expires: yes
+2
View File
@@ -22,3 +22,5 @@ standard_vms:
- { name: "{{ os_project }}-{{ win_project }}-fs02", security_group: "file_server", meta_name: fs02 }
- { name: "{{ os_project }}-{{ win_project }}-wsus", security_group: "wsus_server", meta_name: wsus }
- { name: "{{ os_project }}-{{ win_project }}-choc", security_group: "chocolatey_server", meta_name: choc }
domain_admin_username: space-admin