From eb9bdbaf01546f9dc75f8373454be0fda0dd9a11 Mon Sep 17 00:00:00 2001 From: TerraMaster85 Date: Wed, 21 Jun 2023 19:24:35 -0400 Subject: [PATCH] Add gemserv playbooks --- gemserv/restart_gemserv.yml | 9 +++++++++ gemserv/start_gemserv.yml | 9 +++++++++ gemserv/stop_gemserv.yml | 9 +++++++++ 3 files changed, 27 insertions(+) create mode 100644 gemserv/restart_gemserv.yml create mode 100644 gemserv/start_gemserv.yml create mode 100644 gemserv/stop_gemserv.yml 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