homelab-nomad/ansible_playbooks/stop-cluster.yml

11 lines
158 B
YAML
Raw Permalink Normal View History

---
- name: Stop Nomad
hosts: nomad_instances
tasks:
- name: Stop Nomad
systemd:
name: nomad
state: stopped
become: true