Restart SSH for applying changes
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
group: root
|
||||
mode: 0644
|
||||
validate: '/usr/sbin/sshd -T -f %s'
|
||||
notify: reload openssh
|
||||
notify: restart openssh
|
||||
|
||||
- name: openssh - root keys
|
||||
authorized_key: "user=root key={{ item.key }} state={{ item.state | default('present') }}"
|
||||
|
||||
Reference in New Issue
Block a user