-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
59 lines (51 loc) · 1.65 KB
/
site.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
- name: Prepare VM for running Ansible
hosts: all
gather_facts: no
tasks:
- name: Ensure Python is installed
script: |
install-py2.sh {{ ansible_python_interpreter|default("/usr/bin/python") }}
args:
creates: '{{ ansible_python_interpreter|default("/usr/bin/python") }}'
become: yes
# for local customizations
- include: before.yml
- name: Common setup for all hosts
hosts: all
gather_facts: yes
roles:
- role: common
- role: iptables
# FIXME: should change to 'DROP' when all playbooks register their input ports!
default_input_policy: 'ACCEPT'
- role: ntpd
ntp_server: '{{groups.ntp_master|default([])}}'
- role: pdsh
# Run all other playbooks one by one, so they get a chance of doing
# their setup depending on configured host groups
# filesystems/storage first so we could in principle use it in compute clusters
- include: roles/ceph.yml
- include: roles/glusterfs.yml
- include: roles/pvfs2.yml
# now install and set up computing infrastructure
- include: roles/gridengine.yml
- include: roles/hadoop.yml
- include: roles/htcondor.yml
- include: roles/ipython.yml
- include: roles/jenkins.yml
- include: roles/kubernetes.yml
- include: roles/pbs+maui.yml
- include: roles/slurm.yml
# add-on software
- include: roles/anaconda.yml
- include: roles/ansible.yml
- include: roles/easybuild.yml
- include: roles/ganglia.yml
- include: roles/r.yml
- include: roles/samba.yml
# Jupyter installation comes last, to allow it to pick up any SW that's been
# installed so far (e.g., for kernels, or for ipyparallel)
- include: roles/jupyterhub.yml
# for local customizations
- include: after.yml