paulbsd-salt/states/ssh/config.sls

19 lines
376 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
2020-10-10 14:14:08 +02:00
ssh-ssh-config:
file.managed:
- name: /etc/ssh/ssh_config
- source: salt://ssh/ssh_config.j2
- template: jinja
- user: root
- mode: 0644
2020-07-10 00:58:55 +02:00
ssh-sshd-config:
file.managed:
- name: /etc/ssh/sshd_config
- source: salt://ssh/sshd_config.j2
- template: jinja
- user: root
- mode: 0644
- watch_in:
2020-10-10 14:14:08 +02:00
- service: ssh-sshd-service