Browse Source

updated openssh/config.sls

tags/v0.41.0
Peter Hudec 6 years ago
parent
commit
ea755686e3
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      openssh/config.sls

+ 6
- 0
openssh/config.sls View File

- 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 - check_cmd: {{ openssh.sshd_binary }} -t -f
{%- if openssh.sshd_config_backup %}
- backup: minion
{%- endif %}
- watch_in: - watch_in:
- service: {{ openssh.service }} - service: {{ openssh.service }}
{% endif %} {% endif %}
- user: {{ openssh.ssh_config_user }} - user: {{ openssh.ssh_config_user }}
- group: {{ openssh.ssh_config_group }} - group: {{ openssh.ssh_config_group }}
- mode: {{ openssh.ssh_config_mode }} - mode: {{ openssh.ssh_config_mode }}
{%- if openssh.ssh_config_backup %}
- backup: minion
{%- endif %}
{% endif %} {% endif %}


{%- for keyType in ['ecdsa', 'dsa', 'rsa', 'ed25519'] %} {%- for keyType in ['ecdsa', 'dsa', 'rsa', 'ed25519'] %}

Loading…
Cancel
Save