-
Notifications
You must be signed in to change notification settings - Fork 168
/
Copy pathmain.yml
111 lines (86 loc) · 2.15 KB
/
main.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
#
# variables shared in baselayout
#
binary_dest: '/usr/local/bin/ccache'
ccache_no_binpkg: ['smartos14', 'smartos15', 'smartos16', 'smartos17']
ccache_version: 3.3.2
git_no_binpkg: ['debian7']
git_version: 2.10.2
ssh_config: /etc/ssh/sshd_config
sshd_service_map: {
'ubuntu1404': 'ssh',
'ubuntu1204': 'ssh',
'smartos17': 'ssh',
}
sshd_service_name: "{{ sshd_service_map[os]|default(sshd_service_map[os|stripversion])|default('sshd') }}"
ntp_service: {
systemd: ['debian8', 'debian9', 'ubuntu1604', 'ubuntu1804'],
ntp_package: ['ubuntu1404']
}
common_packages: [
'automake,bash,libtool',
]
# you can either add os family or os to this list (see smartos)
# but the playbook chooses os over family - not both
packages: {
centos6_x64: ['centos-release-scl'], # only available on x86_64, 32-bit is from https://copr.fedorainfracloud.org/coprs/mlampe
centos6: [
'ccache,git2u,gcc-c++,devtoolset-6,sudo', # even need gcc on centos6 so ccache has symlinks
],
centos7_arm64: ['git'], # git2u not available for aarch64 (yet)
centos7_x64: ['git2u','centos-release-scl',], # centos-release-scl is required to enable SCLo
# but we do it manually in partials/repo/centos7.yml for arm64
centos7: [
'ccache,gcc-c++,devtoolset-6,sudo',
],
aix: [
'gcc-c++,sudo',
],
debian7: [
'gcc-4.8,g++-4.8,sudo',
],
debian8: [
'ccache,git,gcc-4.9,g++-4.9,libfontconfig1,binutils-2.26,sudo',
],
debian9: [
'gcc-6,g++-6,ccache,git,curl,libfontconfig1,apt-transport-https,ca-certificates,sudo',
],
fedora: [
'bzip2,ccache,gcc-c++,git,fontconfig,sudo',
],
freebsd: [
'ccache,git,gmake,sudo,python3,py36-pip'
],
rhel72: [
'gcc-c++,sudo',
],
smartos: [
'gccmakedep',
'git',
'gmake',
'xz',
'sudo',
],
smartos14: [
'gcc48',
'gcc48-libs'
],
smartos15: [
'gcc49',
'gcc49-libs'
],
smartos16: [
'gcc49',
'gcc49-libs'
],
smartos17: [
'gcc7'
],
ubuntu: [
'ccache,g++,gcc,git,libfontconfig1,sudo',
],
ubuntu1404: [
'ntp,gcc-8,g++-8,gcc-6,g++-6,g++-4.8,gcc-4.8,g++-4.9,gcc-4.9,binutils-2.26',
]
}