Update to 2022-03-07 15:00

This commit is contained in:
Daniel Berteaud
2022-03-07 15:00:06 +01:00
parent 8b7e505180
commit be6bc20783
25 changed files with 253 additions and 120 deletions

View File

@@ -1,6 +1,7 @@
---
- include: install_{{ ansible_os_family }}.yml
- include_tasks: install_{{ ansible_os_family }}.yml
tags: always
- name: Deploy sssd config
template: src=sssd.conf.j2 dest=/etc/sssd/sssd.conf owner=root group=root mode=0600
@@ -8,9 +9,8 @@
notify: restart sssd
tags: auth
# On el8 for example, sssd is already installed and running on a default setup
# so we need to restart it now, so users are available (for eg, ssh authorized_keys setup)
# We can't rely on the handler, because it would only run at the end of the playbook
# On el8 for example, sssd is already installed and running on a default setup
# so we need to restart it now, so users are available (for eg, ssh authorized_keys setup)
- name: Restart sssd if needed
service: name=sssd state=restarted
when: sssd_config.changed
@@ -39,4 +39,5 @@
when: ansible_distribution != 'Debian' or ansible_distribution_major_version is version('9', '>=')
tags: auth
- include: pam_{{ ansible_os_family }}.yml
- include_tasks: pam_{{ ansible_os_family }}.yml
tags: always