try fix 7
This commit is contained in:
parent
eacd058a7d
commit
f2844d484b
|
@ -2,7 +2,7 @@
|
|||
- name: Start gemserv
|
||||
hosts: gemserv
|
||||
tasks:
|
||||
- name: Start gemserv
|
||||
ansible.builtin.command: whoami
|
||||
sudo: true
|
||||
sudo_user: root
|
||||
- name: Elevate permissions
|
||||
ansible.builtin.sudo:
|
||||
- name: Stop gemserv
|
||||
ansible.builtin.command: sv stop gemserv
|
||||
|
|
Loading…
Reference in New Issue