-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.yml
207 lines (198 loc) · 4.51 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
php_default_version: 8.3
php_versions:
- "{{ php_default_version }}"
php_memory_limit: 256M
php_max_input_vars: 3001
# -------------------------
# PHP 5.6
# -------------------------
php56_modules_default:
- php5.6-common
- php5.6-bcmath
- php5.6-curl
- php5.6-fpm
- php5.6-gd
- php5.6-igbinary
- php5.6-mbstring
- php5.6-mcrypt
- php5.6-mysql
- php5.6-pgsql
- php5.6-opcache
- php5.6-redis
- php5.6-soap
- php5.6-xml
- php5.6-xmlrpc
- php5.6-zip
php56_add_modules: []
php56_modules: "{{ php56_modules_default + php56_add_modules }}"
# -------------------------
# PHP 7.0
# -------------------------
php70_modules_default:
- php7.0-common
- php7.0-bcmath
- php7.0-curl
- php7.0-fpm
- php7.0-gd
- php7.0-igbinary
- php7.0-mbstring
- php7.0-mcrypt
- php7.0-mysql
- php7.0-pgsql
- php7.0-oauth
- php7.0-opcache
- php7.0-redis
- php7.0-soap
- php7.0-xml
- php7.0-xmlrpc
- php7.0-zip
php70_add_modules: []
php70_modules: "{{ php70_modules_default + php70_add_modules }}"
# -------------------------
# PHP 7.1
# -------------------------
php71_modules_default:
- php7.1-common
- php7.1-bcmath
- php7.1-curl
- php7.1-fpm
- php7.1-gd
- php7.1-igbinary
- php7.1-mbstring
- php7.1-mcrypt
- php7.1-mysql
- php7.1-pgsql
- php7.1-oauth
- php7.1-opcache
- php7.1-redis
- php7.1-soap
- php7.1-xml
- php7.1-xmlrpc
- php7.1-zip
php71_add_modules: []
php71_modules: "{{ php71_modules_default + php71_add_modules }}"
# -------------------------
# PHP 7.2
# -------------------------
php72_modules_default:
- php7.2-common
- php7.2-bcmath
- php7.2-curl
- php7.2-fpm
- php7.2-gd
- php7.2-igbinary
- php7.2-mbstring
# Mcrypt is deprecated as of php 7.2
- php7.2-mysql
- php7.2-pgsql
- php7.2-oauth
- php7.2-opcache
- php7.2-redis
- php7.2-soap
- php7.2-xml
- php7.2-xmlrpc
- php7.2-zip
php72_add_modules: []
php72_modules: "{{ php72_modules_default + php72_add_modules }}"
# -------------------------
# PHP 7.3
# -------------------------
php73_modules_default:
- php7.3-common
- php7.3-bcmath
- php7.3-curl
- php7.3-fpm
- php7.3-gd
- php7.3-igbinary
- php7.3-mbstring
- php7.3-mysql
- php7.3-pgsql
- php7.3-oauth
- php7.3-opcache
- php7.3-redis
- php7.3-soap
- php7.3-xml
- php7.3-xmlrpc
- php7.3-zip
php73_add_modules: []
php73_modules: "{{ php73_modules_default + php73_add_modules }}"
# -------------------------
# PHP 7.4
# -------------------------
php74_modules_default:
- php7.4-common
- php7.4-bcmath
- php7.4-curl
- php7.4-fpm
- php7.4-gd
- php7.4-igbinary
- php7.4-mbstring
- php7.4-mysql
- php7.4-pgsql
- php7.4-oauth
- php7.4-opcache
- php7.4-redis
- php7.4-soap
- php7.4-xml
- php7.4-xmlrpc
- php7.4-zip
php74_add_modules: []
php74_modules: "{{ php74_modules_default + php74_add_modules }}"
# -------------------------
# PHP 8.0
# -------------------------
php80_modules_default:
- php8.0-common
- php8.0-bcmath
- php8.0-curl
- php8.0-fpm
- php8.0-gd
- php8.0-igbinary
- php8.0-mbstring
- php8.0-mysql
- php8.0-pgsql
- php8.0-oauth
- php8.0-opcache
- php8.0-redis
- php8.0-soap
- php8.0-xml
- php8.0-xmlrpc
- php8.0-zip
php80_add_modules: []
php80_modules: "{{ php80_modules_default + php80_add_modules }}"
# -------------------------
# PHP >= 8.1
#
# The list of "php_default_module_name_suffixes" will be turned into:
# [ 'php8.1-common', 'php8.1-bcmath', ...etc ]
# according to the list of `php_versions`.
#
# The `php_add_modules` list is so the user to append the default list wtih, without having to redefine the whole list.
# Modules specified in php_add_modules
#
# @TODO: Write php_omit_modules to prevent arbitrary modules in the default list from getting installed.
#
# The `php_modules` list is intentionally not defined here. If your playbook sets this, the role will
# not generate a list of modules to install; the list of php_default_module_name_suffixes will be ignored.
# -------------------------
php_default_module_name_suffixes:
- common
- bcmath
- cli
- curl
- fpm
- gd
- igbinary
- mbstring
- mysql
- pgsql
- oauth
- opcache
- redis
- soap
- xml
- xmlrpc
- zip
php_add_modules: []
## php_modules: [] # Intentionally commented out.
php_use_legacy_module_lists: true