homelab-nomad/ansible_playbooks/stop-cluster
2022-11-14 23:11:13 -08:00

23 lines
382 B
Plaintext

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