---
- name: Stop Nomad
  hosts: nomad_instances

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