mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
7 lines
144 B
YAML
7 lines
144 B
YAML
---
|
|
- name: systemctrl restart ssh
|
|
become: yes
|
|
service:
|
|
name: "{{ sshd_service }}"
|
|
state: restarted
|
|
when: sshd_service is defined
|