MythicSalt/states/debian/init.sls

22 lines
349 B
Plaintext
Raw Normal View History

2023-02-16 18:30:03 +00:00
deploy_sshd_config:
file.managed:
- name: /etc/ssh/sshd_config
- source: salt://debian/sshd_config
ssh:
service.running:
- watch:
- file: /etc/ssh/sshd_config
ntp:
pkg.installed: []
service.running:
- require:
- pkg: ntp
firewalld:
pkg.installed: []
service.running:
- enable: true
- restart: true