1
0
Fork 0
forked from infra/ansible

IPA-tuura: restart sssd on config change

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-10-24 11:22:03 +02:00
commit 4e727d69c2
Signed by untrusted user: abompard
GPG key ID: 31584CFEB9BF64AD
2 changed files with 25 additions and 18 deletions

View file

@ -4,3 +4,8 @@
- name: Restart ipatuura
service: name=ipatuura state=restarted
- name: Restart sssd
ansible.builtin.service:
name: sssd
state: restarted

View file

@ -126,24 +126,24 @@
tags:
- ipatuura
- name: Copy the sudoers file for apache
ansible.builtin.copy:
src: sudoers
dest: /etc/sudoers.d/ipa-tuura
owner: root
group: root
mode: 0440
tags:
- ipatuura
- name: Add Apache to the sssd group to edit the sssd.conf file
ansible.builtin.user:
name: apache
append: yes
groups:
- sssd
# Yeah that's rather concerning! Talk to upstream to avoid needing this.
- root
# - name: Copy the sudoers file for apache
# ansible.builtin.copy:
# src: sudoers
# dest: /etc/sudoers.d/ipa-tuura
# owner: root
# group: root
# mode: 0440
# tags:
# - ipatuura
#
# - name: Add Apache to the sssd group to edit the sssd.conf file
# ansible.builtin.user:
# name: apache
# append: yes
# groups:
# - sssd
# # Yeah that's rather concerning! Talk to upstream to avoid needing this.
# - root
#
# App
@ -258,6 +258,8 @@
owner: root
group: sssd
mode: "0640"
notify:
- Restart sssd
tags:
- ipatuura