Restart SSH for applying changes

This commit is contained in:
Daniel A. Maierhofer
2018-11-03 14:55:44 +01:00
parent 5e27af2b21
commit a3ab58bc63

View File

@@ -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') }}"