Skip to content

Commit

Permalink
Merge pull request #5 from hellofresh/add-override-gid
Browse files Browse the repository at this point in the history
Add sssd override_gid variable
  • Loading branch information
antonu17 authored Feb 7, 2018
2 parents ec66174 + 4553bba commit 831139d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ services:
- docker
install:
- pip install molecule
- pip install docker
- pip install docker-py
script:
- molecule test
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ sssd_ldap_uri: ldap://example.org
sssd_ldap_default_bind_dn: cn=manager,dc=example,dc=org
sssd_ldap_default_authtok: bind_password
sssd_ldap_user_ssh_public_key: sshPublicKey
# If you need to override user's primary group you can use `sssd_ldap_override_gid` variable
# sssd_ldap_override_gid: 500
3 changes: 3 additions & 0 deletions templates/sssd.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ ldap_default_bind_dn = {{ sssd_ldap_default_bind_dn }}
ldap_default_authtok_type = password
ldap_default_authtok = {{ sssd_ldap_default_authtok }}
ldap_user_ssh_public_key = {{ sssd_ldap_user_ssh_public_key }}
{% if sssd_ldap_override_gid is defined %}
override_gid = {{ sssd_ldap_override_gid }}
{% endif %}

0 comments on commit 831139d

Please sign in to comment.