feat(ansible): Migrate Ubuntu Jammy II
[csit.git] / fdio.infra.ansible / nomad.yaml
1 ---
2 # file: nomad.yaml
3
4 - hosts: nomad
5   remote_user: localadmin
6   become: true
7   become_user: root
8   gather_facts: false
9   pre_tasks:
10     - name: Gathering Facts
11       gather_facts:
12       tags:
13         - always
14   roles:
15     - role: user_add
16       tags: user_add
17     - role: baremetal
18       tags: baremetal
19     - role: docker
20       tags: docker
21     - role: nomad
22       tags: nomad
23     - role: consul
24       tags: consul
25 #    - role: prometheus_exporter
26 #      tags: prometheus_exporter
27 #    - role: jenkins_job_health_exporter
28 #      tags: jenkins_job_health_exporter
29 #    - role: cleanup
30 #      tags: cleanup