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:
parent
f305bdc57a
commit
4e727d69c2
2 changed files with 25 additions and 18 deletions
|
|
@ -4,3 +4,8 @@
|
|||
|
||||
- name: Restart ipatuura
|
||||
service: name=ipatuura state=restarted
|
||||
|
||||
- name: Restart sssd
|
||||
ansible.builtin.service:
|
||||
name: sssd
|
||||
state: restarted
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue