Skip to content

Commit

Permalink
ad multiple DC
Browse files Browse the repository at this point in the history
  • Loading branch information
gardart committed May 22, 2021
1 parent ba0aae4 commit d66a452
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions provisioning/ad/playbook2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
- Domain Admins
attributes:
telephoneNumber: 354 123 45 67
delegate_to: dc1


- name: Add user with POSIX attributes
community.windows.win_domain_user:
Expand All @@ -111,6 +113,8 @@
gidNumber: "5002"
unixHomeDirectory: "/home/testuser1"
loginShell: "/bin/bash"
delegate_to: dc1


- name: Copy dns-server-configure.ps1 to the scripts folder
ansible.windows.win_copy:
Expand All @@ -132,6 +136,8 @@
values:
- "{{ ad_server_ip_address }}"
zone: "{{ ad_domain }}"
delegate_to: dc1


- name: Create A records for IDM subdomain
community.windows.win_dns_record:
Expand All @@ -141,6 +147,8 @@
values:
- "{{ ipa_server_ip_address }}"
zone: "{{ ad_domain }}"
delegate_to: dc1


- name: Creating NS records for IDM subdomain
community.windows.win_dns_record:
Expand All @@ -150,3 +158,5 @@
values:
- "{{ ipa_server_name }}.{{ ipa_domain }}"
zone: "{{ ad_domain }}"
delegate_to: dc1

0 comments on commit d66a452

Please sign in to comment.