Compare commits

..

No commits in common. "11c2192c55f4b6e65934bad06a92b4f57ab7af77" and "fa014a43a54dea6b12bf39df0c5a7f442fb382cc" have entirely different histories.

3 changed files with 7 additions and 7 deletions

View File

@ -6,4 +6,4 @@
tasks: tasks:
- name: Start gemserv - name: Start gemserv
ansible.builtin.shell: ansible.builtin.shell:
cmd: sv restart gemserv cmd: whoami && sv restart gemserv

View File

@ -6,4 +6,4 @@
tasks: tasks:
- name: Start gemserv - name: Start gemserv
ansible.builtin.shell: ansible.builtin.shell:
cmd: sv start gemserv cmd: whoami && sv start gemserv

View File

@ -1,9 +1,9 @@
--- ---
- name: Start gemserv - name: Start gemserv
hosts: gemserv hosts: gemserv
tasks:
- name: Stop gemserv
ansible.builtin.command: sv stop gemserv
become: true become: true
become_method: sudo
become_user: root tasks:
- name: Start gemserv
ansible.builtin.shell:
cmd: whoami && sv stop gemserv