Skip to content

Instantly share code, notes, and snippets.

@mrlesmithjr
Created February 17, 2020 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrlesmithjr/4254f633cc0df8d1c3f086aa3cf5d998 to your computer and use it in GitHub Desktop.
Save mrlesmithjr/4254f633cc0df8d1c3f086aa3cf5d998 to your computer and use it in GitHub Desktop.
- name: config | Configuring realmd
copy:
content: |
[users]
default-home = /home/%U
default-shell = /bin/bash
[active-directory]
default-client = sssd
os-name = {{ ansible_distribution + ' ' + ansible_distribution_release }}
os-version = {{ ansible_distribution_version }}
[service]
automatic-install = no
[{{ ad_domain_name|lower }}]
fully-qualified-names = no
automatic-id-mapping = yes
user-principal = yes
manage-system = no
dest: /etc/realmd.conf
become: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment