forked from nodejs/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.yml
More file actions
135 lines (106 loc) · 3.19 KB
/
main.yml
File metadata and controls
135 lines (106 loc) · 3.19 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
#
# variables shared in baselayout
#
git_no_binpkg: [ ]
git_version: 2.10.2
ssh_config: /etc/ssh/sshd_config
sshd_service_map: {
'smartos22': 'ssh',
'smartos23': 'ssh',
}
sshd_service_name: "{{ sshd_service_map[os]|default(sshd_service_map[os|stripversion])|default('sshd') }}"
ntp_service: {
chrony: ['rhel8', 'rhel9', 'debian11'],
systemd: ['debian12', 'ubuntu']
}
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.
#
# To determine the value of `os` or of `arch` for a specific HOST, use ansible:
# % ansible -m debug -a "var=arch" HOST
# % ansible -m debug -a "var=os" HOST
packages: {
aix: [
'bash,cmake,coreutils,curl,gcc-c++,tar,unzip,git,make,sudo,python-setuptools,python3.9',
],
aix72: [
'gcc8-c++,gcc10-c++,gcc12-c++'
],
aix73: [
'gcc8-c++,gcc10-c++,gcc12-c++'
],
ibmi: [
'autoconf,automake,ca-certificates-mozilla,tar-gnu,gzip,ccache,cmake,coreutils-gnu,gcc12,gcc12-cplusplus,gcc12-cpp,libstdcplusplus6-12-devel,gcc10,gcc10-cplusplus,gcc10-cpp,git,libstdcplusplus6-10-devel,m4-gnu,openssl-devel,python2-setuptools,python3,python3-pip,python39,python39-pip,python39-setuptools,sed-gnu,zlib-devel,icu-devel,c-ares-devel,brotli-devel,grep-gnu,pkg-config,xz',
],
debian11: [
'gcc-10,g++-10,ccache,git,curl,libfontconfig1,apt-transport-https,ca-certificates,sudo,python3-pip',
],
debian12: [
'systemd-timesyncd,clang-19,gcc,g++,make,ccache,git,curl,libfontconfig1,apt-transport-https,ca-certificates,sudo,python3-venv',
],
fedora: [
'bzip2,ccache,clang,gcc-c++,git,fontconfig,sudo,make,python3-pip',
],
freebsd: [
'ccache,git,gmake,sudo,python3'
],
'macos10.15': [
'cmake,python,ccache'
],
'macos10.16': [
'cmake,python,ccache'
],
'macos11.0': [
'cmake,python,ccache'
],
'macos11': [
'cmake,python,ccache'
],
rhel7: [
'cmake,devtoolset-6,devtoolset-6-libatomic-devel,devtoolset-8,devtoolset-8-libatomic-devel,devtoolset-10,devtoolset-11,gcc-c++,sudo,git,make,zip,unzip,iptables-services,openssl-devel,python3',
],
rhel8: [
'ccache,clang,cmake,gcc-c++,gcc-toolset-10,gcc-toolset-10-libatomic-devel,gcc-toolset-11,gcc-toolset-12,gcc-toolset-12-libatomic-devel,gcc-toolset-13,gcc-toolset-13-libatomic-devel,gcc-toolset-14-libatomic-devel,git,make,python3',
],
rhel9: [
'ccache,clang,cmake,gcc-c++,gcc-toolset-12,gcc-toolset-12-libatomic-devel,gcc-toolset-13,gcc-toolset-13-libatomic-devel,gcc-toolset-14-libatomic-devel,git,make,python3',
],
smartos: [
'gccmakedep',
'git',
'gmake',
'xz',
'sudo',
],
smartos22: [
'gcc12',
'ccache',
'python311',
'py311-pip'
],
smartos23: [
'gcc13',
'ccache',
'python312',
'py312-pip'
],
ubuntu: [
'acl,ccache,curl,git,libfontconfig1,sudo,python3-pip',
],
# Default gcc/g++ package is 5.
ubuntu1604: [
'gcc-8,g++-8,gcc-6,g++-6,python3.9,python3.9-distutils',
],
# Default gcc/g++ package is 7.
ubuntu1804: [
'gcc-6,g++-6,gcc-8,g++-8,python3.8',
],
# Default gcc/g++ package is 11.
ubuntu2204: [
'gcc,g++,gcc-12,g++-12,python3,python-is-python3',
],
}