We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4fb44 commit a5865f8Copy full SHA for a5865f8
tasks/sshd.yml
@@ -6,9 +6,14 @@
6
notify:
7
- restart sshd
8
9
-- name: sssd_ldap | sshd | make authorized keys lookup script run as nobody
+- name: sshd | make authorized keys lookup script run as nobody
10
lineinfile:
11
path: /etc/ssh/sshd_config
12
line: 'AuthorizedKeysCommandUser nobody'
13
14
15
+
16
+- name: sshd | ensure sshd service is enabled
17
+ service:
18
+ name: sshd
19
+ enabled: true
tasks/sssd.yml
@@ -1,5 +1,5 @@
1
---
2
-- name: configure sssd
+- name: sssd | configure sssd
3
template:
4
src: sssd.conf.j2
5
dest: /etc/sssd/sssd.conf
@@ -9,3 +9,8 @@
group: root
- restart sssd
+- name: sssd | ensure sssd service is enabled
+ name: sssd
0 commit comments