mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-09-24 23:39:19 +02:00
Split the sshd_config and banner components into sub-states
This commit is contained in:
@@ -8,17 +8,4 @@ openssh:
|
||||
- name: {{ openssh.service }}
|
||||
- require:
|
||||
- pkg: {{ openssh.server }}
|
||||
- file: sshd_banner
|
||||
- watch:
|
||||
- file: sshd_config
|
||||
|
||||
sshd_config:
|
||||
file.managed:
|
||||
- name: {{ openssh.sshd_config }}
|
||||
- source: {{ openssh.sshd_config_src }}
|
||||
|
||||
sshd_banner:
|
||||
file.managed:
|
||||
- name: {{ openssh.banner }}
|
||||
- source: {{ openssh.banner_src }}
|
||||
- template: jinja
|
||||
|
||||
Reference in New Issue
Block a user