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:
parent
7282b39ca3
commit
7ea66e4440
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
---
|
---
|
||||||
- name: restart ssh
|
- name: restart ssh
|
||||||
|
become: yes
|
||||||
service:
|
service:
|
||||||
name: "{{ ssh_service }}"
|
name: "{{ ssh_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
when: ssh_service is defined
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue