2018-03-07 03:28:23 +01:00
|
|
|
---
|
|
|
|
- name: restart ssh
|
2019-03-04 17:21:55 +01:00
|
|
|
become: yes
|
2018-03-07 03:28:23 +01:00
|
|
|
service:
|
2018-11-16 11:44:36 +01:00
|
|
|
name: "{{ ssh_service }}"
|
2018-03-07 03:28:23 +01:00
|
|
|
state: restarted
|
2019-03-04 17:21:55 +01:00
|
|
|
when: ssh_service is defined
|
|
|
|
|