mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2025-04-23 10:28:15 +02:00
Merge 4c822ba8445242ebc871bcd92a4b9779b6083e3a into 6e077f5dbe17b0c0ce2910cbf10e94d50803698c
This commit is contained in:
commit
ce8a047a26
@ -6,6 +6,16 @@ include:
|
||||
- openssh
|
||||
|
||||
{% if manage_sshd_config %}
|
||||
{% if 'Debian' == salt['grains.get']('os_family') %}
|
||||
/run/sshd:
|
||||
file.directory:
|
||||
- user: 0
|
||||
- group: 0
|
||||
- mode: 0755
|
||||
- require_in:
|
||||
- file: sshd_config
|
||||
{% endif %}
|
||||
|
||||
sshd_config:
|
||||
file.managed:
|
||||
- name: {{ openssh.sshd_config }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user