mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-28 01:18:12 +01:00
updated openssh/config.sls
This commit is contained in:
parent
0232f5cbbc
commit
ea755686e3
@ -15,6 +15,9 @@ sshd_config:
|
||||
- group: {{ openssh.sshd_config_group }}
|
||||
- mode: {{ openssh.sshd_config_mode }}
|
||||
- check_cmd: {{ openssh.sshd_binary }} -t -f
|
||||
{%- if openssh.sshd_config_backup %}
|
||||
- backup: minion
|
||||
{%- endif %}
|
||||
- watch_in:
|
||||
- service: {{ openssh.service }}
|
||||
{% endif %}
|
||||
@ -28,6 +31,9 @@ ssh_config:
|
||||
- user: {{ openssh.ssh_config_user }}
|
||||
- group: {{ openssh.ssh_config_group }}
|
||||
- mode: {{ openssh.ssh_config_mode }}
|
||||
{%- if openssh.ssh_config_backup %}
|
||||
- backup: minion
|
||||
{%- endif %}
|
||||
{% endif %}
|
||||
|
||||
{%- for keyType in ['ecdsa', 'dsa', 'rsa', 'ed25519'] %}
|
||||
|
Loading…
Reference in New Issue
Block a user