diff --git a/services/ssh.sls b/services/ssh.sls index 1ce9cf9..a3315d7 100644 --- a/services/ssh.sls +++ b/services/ssh.sls @@ -17,8 +17,12 @@ system_ssh_configuration: - source: salt://{{ tpldir }}/files/ssh_sshd_config system_ssh_enable: - service.enabled: + service.running: - name: sshd + - enable: True + - watch: + - system_ssh_configuration + - system_ssh_add_keys - require: - system_ssh_configuration - system_ssh_add_keys