File tree 4 files changed +1
-48
lines changed 4 files changed +1
-48
lines changed Original file line number Diff line number Diff line change 10
10
php_enablerepo : " remi,remi-php82"
11
11
php_install_recommends : false
12
12
13
- handlers :
14
- - name : update apt cache
15
- apt : update_cache=true
16
- when : ansible_os_family == 'Debian'
17
-
18
13
pre_tasks :
19
14
- name : Update apt cache.
20
15
apt :
23
18
when : ansible_os_family == 'Debian'
24
19
changed_when : false
25
20
26
- - name : Ensure dirmngr is installed (gnupg dependency).
27
- apt :
28
- name : dirmngr
29
- state : present
30
- when : ansible_os_family == 'Debian'
31
-
32
- # Debian-specific tasks.
33
- - name : Add dependencies for PHP versions (Debian).
34
- apt :
35
- name :
36
- - apt-transport-https
37
- - ca-certificates
38
- - gnupg2
39
- state : present
40
- when : ansible_distribution == "Debian"
41
-
42
- - name : Add Ondrej Sury's repo for PHP 8 (Ubuntu).
43
- apt_repository :
44
- repo : ' ppa:ondrej/php'
45
- when :
46
- - ansible_distribution == 'Ubuntu'
47
- - ansible_distribution_major_version <= 22
48
-
49
- - name : Add Ondrej Sury's apt key (Debian).
50
- apt_key :
51
- url : https://packages.sury.org/php/apt.gpg
52
- state : present
53
- when : ansible_distribution == "Debian"
54
-
55
- - name : Add Ondrej Sury's repo (Debian).
56
- apt_repository :
57
- repo : " deb https://packages.sury.org/php/ {{ ansible_distribution_release }} main"
58
- state : present
59
- when : ansible_distribution == "Debian"
60
- notify : update apt cache
61
-
62
- - meta : flush_handlers
63
-
64
21
roles :
65
22
- role : geerlingguy.repo-remi
66
23
when :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
---
2
- __php_default_version_debian : " 7.0 "
2
+ __php_default_version_debian : " 8.2 "
3
3
__php_packages :
4
4
- php{{ php_default_version_debian }}-common
5
5
- php{{ php_default_version_debian }}-cli
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments