Update to 2024-04-05 10:01

This commit is contained in:
Daniel Berteaud
2024-04-05 10:01:02 +02:00
parent 26ab80b027
commit 1b645c62cc
7 changed files with 43 additions and 9 deletions

View File

@@ -27,6 +27,28 @@
notify: restart sssd ad
tags: auth
- name: Create systemd snippet dir
file: path=/etc/systemd/system/sssd.service.d state=directory
tags: auth
# sssd can fail, especially when storage gets slow (which can happen during backups for example)
- name: Configure sssd to restart on failure
copy:
content: |
[Service]
Restart=on-failure
StartLimitInterval=0
RestartSec=30
dest: /etc/systemd/system/sssd.service.d/ansible.conf
register: sssd_unit
notify: restart sssd ad
tags: auth
- name: Reload systemd
systemd: daemon_reload=true
when: sssd_unit.changed
tags: auth
- name: Deploy krb5 configuration
template: src=krb5.conf.j2 dest=/etc/krb5.conf
tags: auth