explicitly set the user, group, and mode to match the package's
sshd_config
This commit is contained in:
parent
dc53d0c295
commit
9f70270643
@ -7,6 +7,10 @@ sshd_config:
|
|||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ openssh.sshd_config }}
|
- name: {{ openssh.sshd_config }}
|
||||||
- source: {{ openssh.sshd_config_src }}
|
- source: {{ openssh.sshd_config_src }}
|
||||||
|
- template: jinja
|
||||||
|
- user: root
|
||||||
|
- group: root
|
||||||
|
- mode: 644
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: openssh
|
- service: openssh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user