WIP: Add a new playbook for stopping cluster

Hopefully without data loss
This commit is contained in:
IamTheFij 2022-11-14 23:11:13 -08:00
parent bbec244f45
commit 19f1f8448d

View File

@ -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