1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_sshd.git synced 2024-08-16 11:59:49 +02:00

become: yes

This commit is contained in:
Lilian Roller 2019-03-04 17:21:55 +01:00
parent 7282b39ca3
commit 7ea66e4440
No known key found for this signature in database
GPG key ID: 5215C3441797AB2B

View file

@ -1,5 +1,8 @@
---
- name: restart ssh
become: yes
service:
name: "{{ ssh_service }}"
state: restarted
when: ssh_service is defined