Change service.enabled to service.running
This commit is contained in:
parent
5538de0659
commit
788229f940
1 changed files with 5 additions and 1 deletions
|
@ -17,8 +17,12 @@ system_ssh_configuration:
|
|||
- source: salt://{{ tpldir }}/files/ssh_sshd_config
|
||||
|
||||
system_ssh_enable:
|
||||
service.enabled:
|
||||
service.running:
|
||||
- name: sshd
|
||||
- enable: True
|
||||
- watch:
|
||||
- system_ssh_configuration
|
||||
- system_ssh_add_keys
|
||||
- require:
|
||||
- system_ssh_configuration
|
||||
- system_ssh_add_keys
|
||||
|
|
Loading…
Reference in a new issue