- user: {{ openssh.sshd_config_user }} | - user: {{ openssh.sshd_config_user }} | ||||
- group: {{ openssh.sshd_config_group }} | - group: {{ openssh.sshd_config_group }} | ||||
- mode: {{ openssh.sshd_config_mode }} | - mode: {{ openssh.sshd_config_mode }} | ||||
- check_cmd: {{ openssh.sshd_binary }} -t -f | |||||
- watch_in: | - watch_in: | ||||
- service: {{ openssh.service }} | - service: {{ openssh.service }} | ||||
{% endif %} | {% endif %} |
openssh: | openssh: | ||||
sshd_enable: True | sshd_enable: True | ||||
sshd_binary: /usr/sbin/sshd | |||||
sshd_config: /etc/ssh/sshd_config | sshd_config: /etc/ssh/sshd_config | ||||
sshd_config_src: salt://openssh/files/sshd_config | sshd_config_src: salt://openssh/files/sshd_config | ||||
sshd_config_user: root | sshd_config_user: root |