paulbsd-salt/states/ssh/config.sls
2023-03-10 00:08:08 +01:00

19 lines
396 B
Plaintext

---
ssh-ssh-config:
file.managed:
- name: /etc/ssh/ssh_config
- source: salt://ssh/templates/ssh_config.j2
- template: jinja
- user: root
- mode: 0644
ssh-sshd-config:
file.managed:
- name: /etc/ssh/sshd_config
- source: salt://ssh/templates/sshd_config.j2
- template: jinja
- user: root
- mode: 0644
- watch_in:
- service: ssh-sshd-service