ansible-playbooks/openssh/service.ansible.yml

7 lines
142 B
YAML

- hosts: localhost
tasks:
- name: Enable openssh service
service:
name: sshd
state: started
enabled: true