Skip to content
Snippets Groups Projects
Commit 992a033f authored by godog's avatar godog
Browse files

ldap: run service in group openldap

parent 68253213
No related branches found
No related tags found
No related merge requests found
...@@ -44,11 +44,6 @@ ...@@ -44,11 +44,6 @@
home: /var/lib/ldap home: /var/lib/ldap
createhome: no createhome: no
system: yes system: yes
- name: Add slapd-prometheus-exporter to ldap group
user:
name: slapd-prometheus-exporter
groups: openldap
append: yes
# Make sure the monitoring exporter can access the LDAP socket. # Make sure the monitoring exporter can access the LDAP socket.
- file: - file:
...@@ -59,7 +54,7 @@ ...@@ -59,7 +54,7 @@
dest: /etc/systemd/system/slapd-prometheus-exporter.service.d/float.conf dest: /etc/systemd/system/slapd-prometheus-exporter.service.d/float.conf
content: | content: |
[Service] [Service]
Group: openldap Group=openldap
notify: reload slapd-prometheus-exporter notify: reload slapd-prometheus-exporter
# Install the LDAP configuration # Install the LDAP configuration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment