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