forked from datasmid/buildserver
-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
provision.yml
executable file
·59 lines (52 loc) · 1.68 KB
/
provision.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
#!/usr/bin/env ansible-playbook
- name: Install utilities
hosts: all
become: true
pre_tasks:
- include: tasks/settings.yml
roles:
- {role: dockpack.base_clang, tags: 'clang'}
- {role: motd, tags: 'motd'}
- {role: dockpack.base_common, tags: 'common'}
- {role: dockpack.base_utils, tags: 'utils'}
- name: Install web server
hosts: build_master
become: true
roles:
- {role: pki, tags: 'pki'}
- {role: firewall, tags: 'firewall'}
- {role: jdauphant.nginx, tags: 'nginx'}
- {role: homepage, tags: 'homepage'}
- name: Install buildserver
hosts: build_master
become: true
roles:
- {role: dockpack.base_git, tags: 'git'}
- {role: dockpack.base_java8, tags: 'java'}
- {role: selenium, tags: 'selenium'}
- {role: dockpack.base_ant, tags: 'ant'}
- {role: dockpack.base_maven, tags: 'maven'}
- {role: dockpack.base_gradle, tags: 'gradle'}
- {role: dockpack.base_postgres, tags: 'postgresql'}
- {role: bbaassssiiee.sonar, tags: 'sonarqube' }
- {role: bbaassssiiee.artifactory, tags: 'artifactory' } # for built stuff
- {role: jenkins, tags: 'jenkins'} # needs java and maven
- name: Install dockpack developer tools
hosts: build
become: true
vars:
miniconda_install: true
DTSVER: 8
collections_enabled: true
development_groupinstall: false
roles:
- {role: dockpack.base_miniconda, tags: 'conda'}
- {role: dockpack.base_cmake, tags: 'cmake'}
- {role: dockpack.base_gcc, tags: 'gcc'}
- {role: dockpack.base_boost, tags: 'boost'}
- {role: dockpack.base_goss, tags: 'goss'}
- name: Install docker
hosts: centos7
become: true
roles:
- {role: dockpack.base_docker, tags: 'docker'}