diff --git a/gemserv/restart_gemserv.yml b/gemserv/restart_gemserv.yml new file mode 100644 index 0000000..64beb35 --- /dev/null +++ b/gemserv/restart_gemserv.yml @@ -0,0 +1,9 @@ +--- +- name: Start gemserv + hosts: gemserv + + tasks: + - name: Start gemserv + become: yes + ansible.builtin.shell: + cmd: sv restart gemserv diff --git a/gemserv/start_gemserv.yml b/gemserv/start_gemserv.yml new file mode 100644 index 0000000..6cfb527 --- /dev/null +++ b/gemserv/start_gemserv.yml @@ -0,0 +1,9 @@ +--- +- name: Start gemserv + hosts: gemserv + + tasks: + - name: Start gemserv + become: yes + ansible.builtin.shell: + cmd: sv start gemserv diff --git a/gemserv/stop_gemserv.yml b/gemserv/stop_gemserv.yml new file mode 100644 index 0000000..b6bc67c --- /dev/null +++ b/gemserv/stop_gemserv.yml @@ -0,0 +1,9 @@ +--- +- name: Start gemserv + hosts: gemserv + + tasks: + - name: Start gemserv + become: yes + ansible.builtin.shell: + cmd: sv stop gemserv