hcp-ansible/playbooks/tasks/nomad/nomad_deploy.yml
Bertrand Lanson 54a86d7af3
All checks were successful
development / Check commit compliance (push) Successful in 25s
feat: new tls_multi_node test for molecule with some adjustment to tags
2024-08-26 23:10:04 +02:00

22 lines
470 B
YAML

---
- name: "Nomad"
block:
- name: "Deploy Nomad Control Plane"
ansible.builtin.import_tasks:
file: nomad_control_plane.yml
when:
- nomad_enable_server
tags:
- nomad
- nomad_servers
- name: "Deploy Nomad Clients"
ansible.builtin.import_tasks:
file: nomad_clients.yml
when:
- nomad_enable_client
- not nomad_enable_server
tags:
- nomad
- nomad_clients