mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2022-03-07 15:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user