Change service.enabled to service.running

This commit is contained in:
LinuxSquare 2023-04-27 20:40:40 +02:00
parent 5538de0659
commit 788229f940

View file

@ -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