-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompute.yml
31 lines (28 loc) · 935 Bytes
/
compute.yml
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
31
---
# file: compute.yml
#
# Subtle difference in compute roles for Nairobi and Addis.
- hosts: nairobi_compute
become: true
vars_files:
- private/vars/common.yml
- private/vars/ipsets.yml
roles:
- common
- sssd
- { role: metrics, when: ansible_service_mgr == 'systemd', tags: metrics }
- { role: ganglia, when: ansible_distribution == 'CentOS', tags: ganglia }
- { role: storage, when: ansible_distribution == 'CentOS', tags: storage }
- { role: compute, when: ansible_distribution == 'CentOS', tags: compute }
# No ganglia (for now) or storage roles on Addis compute.
- hosts: addis_compute
become: true
vars_files:
- private/vars/common.yml
- private/vars/ipsets.yml
roles:
- common
- sssd
- { role: metrics, when: ansible_service_mgr == 'systemd', tags: metrics }
- { role: compute, when: ansible_distribution == 'CentOS', tags: compute }
# vim: set sw=2 ts=2: