try fix 3
This commit is contained in:
parent
18a9e2cb9f
commit
35eae0112b
|
@ -1,14 +1,9 @@
|
||||||
---
|
---
|
||||||
- name: Start gemserv
|
- name: Start gemserv
|
||||||
hosts: gemserv
|
hosts: gemserv
|
||||||
become: true
|
|
||||||
become_user: root
|
|
||||||
become_method: sudo
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Start gemserv
|
- name: Start gemserv
|
||||||
become: true
|
become: true
|
||||||
become_user: root
|
become_user: root
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
ansible.builtin.shell:
|
ansible.builtin.command: sv stop gemserv
|
||||||
cmd: whoami && sv stop gemserv
|
|
||||||
|
|
Loading…
Reference in New Issue