mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 13:27:21 +00:00
fix hard coded values
This commit is contained in:
1 parent
d679e1d5dc
commit
2479743a07
1 file changed
+5
-2
@@ -3,11 +3,14 @@
|
||||
tags: join_domain
|
||||
block:
|
||||
- name: Set DC01 and DC02 as DNS servers
|
||||
vars:
|
||||
dc01_dns: "{{ os_project }}-{{ win_project }}-dc01"
|
||||
dc02_dns: "{{ os_project }}-{{ win_project }}-dc02"
|
||||
win_dns_client:
|
||||
adapter_names: "*"
|
||||
ipv4_addresses:
|
||||
- "{{ hostvars['eidf075-dev-dc01'].ansible_host }}"
|
||||
- "{{ hostvars['eidf075-dev-dc02'].ansible_host }}"
|
||||
- "{{ hostvars[dc01_dns].ansible_host }}"
|
||||
- "{{ hostvars[dc02_dns].ansible_host }}"
|
||||
|
||||
- name: Joining Client machines to domain
|
||||
win_domain_membership:
|
||||
|
||||
Reference in new issue
Block a user