Bertrand Lanson
259f273fd9
All checks were successful
development / Check commit compliance (push) Successful in 5s
20 lines
438 B
YAML
20 lines
438 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_servers
|
|
|
|
- name: "Deploy Nomad Clients"
|
|
ansible.builtin.import_tasks:
|
|
file: nomad_clients.yml
|
|
when:
|
|
- nomad_enable_client
|
|
- not nomad_enable_server
|
|
tags:
|
|
- nomad_clients
|