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