Skip to content

Commit 93bee09

Browse files
committed
enable sssd and restart sshd
1 parent 73c7f36 commit 93bee09

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

playbooks/roles/sssd/tasks/debian.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
owner: 'root'
1616
group: 'root'
1717
mode: '0600'
18+
notify: restart sssd
1819

1920
- name: Copy CA certificate
2021
copy:
@@ -53,11 +54,22 @@
5354
include_role:
5455
name: safe_yum
5556

57+
- name: Enable sssd service
58+
systemd:
59+
name: sssd
60+
enabled: "yes"
61+
62+
- name: Start sssd service
63+
systemd:
64+
name: sssd
65+
state: started
66+
5667
- name: Update sshd configuration
5768
lineinfile:
5869
path: /etc/ssh/sshd_config
5970
regexp: '^PasswordAuthentication'
6071
line: PasswordAuthentication no
6172
notify:
73+
- restart sshd
6274
- restart ns daemons
6375
- restart login services

0 commit comments

Comments
 (0)