mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-29 16:26:51 +00:00
use variable for domain admin username
This commit is contained in:
1 parent
0c8a6eca3c
commit
c8cb132124
2 files changed
+3
-1
No files matched your search
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
- name: Create 'Admin' user
|
- name: Create 'Admin' user
|
||||||
community.windows.win_domain_user:
|
community.windows.win_domain_user:
|
||||||
name: admin
|
name: "{{ domain_admin_username }}"
|
||||||
password: "{{ domain_admin_password }}"
|
password: "{{ domain_admin_password }}"
|
||||||
state: present
|
state: present
|
||||||
password_never_expires: yes
|
password_never_expires: yes
|
||||||
|
|||||||
@@ -22,3 +22,5 @@ standard_vms:
|
|||||||
- { name: "{{ os_project }}-{{ win_project }}-fs02", security_group: "file_server", meta_name: fs02 }
|
- { 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 }}-wsus", security_group: "wsus_server", meta_name: wsus }
|
||||||
- { name: "{{ os_project }}-{{ win_project }}-choc", security_group: "chocolatey_server", meta_name: choc }
|
- { name: "{{ os_project }}-{{ win_project }}-choc", security_group: "chocolatey_server", meta_name: choc }
|
||||||
|
|
||||||
|
domain_admin_username: space-admin
|
||||||
Reference in new issue
Block a user