Skip to content

Commit

Permalink
ad site support
Browse files Browse the repository at this point in the history
  • Loading branch information
gardart committed May 21, 2021
1 parent 6ccada4 commit 6b0f176
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions default.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ad_server_gateway: 192.168.68.254
ad_admin_user: administrator@ad.test
ad_admin_password: IPApass1.
ad_safe_mode_password: IPApass1.
ad_site: Default-First-Site-Name

ipaadmin_password: IPApass1.
ipadm_password: IPApass1.
Expand Down
5 changes: 5 additions & 0 deletions provisioning/ipaclient/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
state: present
notify: restart NetworkManager

- name: Add SSSD config
template:
src: templates/ipaclient.conf.j2
dest: /etc/sssd/conf.d/ipaclient.conf

handlers:
- name: restart sssd
service:
Expand Down
2 changes: 2 additions & 0 deletions provisioning/ipaclient/templates/ipaclient.conf.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[domain/{{ ipa_domain }}\{{ ad_domain }}]
ad_site = {{ ad_site }}

0 comments on commit 6b0f176

Please sign in to comment.