aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/nomad.yaml
blob: 8dbdac54fe561829ca30b1087a62db80b8b40fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
# file: nomad.yaml

- hosts: nomad
  remote_user: localadmin
  become: true
  become_user: root
  gather_facts: false
  pre_tasks:
    - name: Gathering Facts
      gather_facts:
      tags:
        - always
  roles:
    - role: user_add
      tags: user_add
    - role: baremetal
      tags: baremetal
    - role: docker
      tags: docker
    - role: nomad
      tags: nomad
    - role: consul
      tags: consul
#    - role: prometheus_exporter
#      tags: prometheus_exporter
#    - role: jenkins_job_health_exporter
#      tags: jenkins_job_health_exporter
#    - role: cleanup
#      tags: cleanup