Skip to content

Commit 9d88c26

Browse files
committed
Drop old Debian and Ubuntu versions, update CI.
1 parent c30d976 commit 9d88c26

File tree

4 files changed

+1
-48
lines changed

4 files changed

+1
-48
lines changed

molecule/default/converge.yml

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
php_enablerepo: "remi,remi-php82"
1111
php_install_recommends: false
1212

13-
handlers:
14-
- name: update apt cache
15-
apt: update_cache=true
16-
when: ansible_os_family == 'Debian'
17-
1813
pre_tasks:
1914
- name: Update apt cache.
2015
apt:
@@ -23,44 +18,6 @@
2318
when: ansible_os_family == 'Debian'
2419
changed_when: false
2520

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-
6421
roles:
6522
- role: geerlingguy.repo-remi
6623
when:

vars/Debian-10.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

vars/Debian.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
__php_default_version_debian: "7.0"
2+
__php_default_version_debian: "8.2"
33
__php_packages:
44
- php{{ php_default_version_debian }}-common
55
- php{{ php_default_version_debian }}-cli

vars/Ubuntu-18.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)