install and start sshd if not already done

This commit is contained in:
2022-10-27 11:58:38 +02:00
parent 07dc31ecf0
commit 0a9b6fc32d
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
- name: server | sshd | install
package:
name: "{{ openssh_server_package }}"
state: latest
- name: server | sshd | start
service:
name: sshd
state: started
enabled: True