infra-v1/applications/roles/authsec.pihole/tasks/checkssh.yml

5 lines
126 B
YAML

- name: Make sure ssh is enabled, not just started
systemd:
name: ssh.service
enabled: true
state: started