homelab-nomad/ansible_playbooks/stop-cluster

23 lines
382 B
Plaintext
Raw Normal View History

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