diff --git a/ansible_playbooks/stop-cluster b/ansible_playbooks/stop-cluster new file mode 100644 index 0000000..26f26e8 --- /dev/null +++ b/ansible_playbooks/stop-cluster @@ -0,0 +1,23 @@ +--- +- name: Stop cluster + hosts: consul_instances + serial: 1 + + tasks: + - name: Stop Nomad + systemd: + name: nomad + state: stopped + become: true + + - name: Stop Vault + systemd: + name: vault + state: stopped + become: true + + - name: Stop Consul + systemd: + name: consul + state: stopped + become: true \ No newline at end of file