evoadmin-web: simpler PHP packages lists

This commit is contained in:
Jérémy Lecour 2021-08-16 13:49:13 +02:00 committed by Jérémy Lecour
parent c9f25f4638
commit d186e21239
2 changed files with 4 additions and 10 deletions

View File

@ -26,6 +26,7 @@ The **patch** part changes incrementally at each release.
* Remove embedded GPG keys only if legacy keyring is present
* certbot: silence letsencrypt deprecation warnings
* elasticsearch: 7.x by default
* evoadmin-web: simpler PHP packages lists
* evocheck: upstream release 21.07
* evolinux-base: alert5 comes after the network
* evolinux-base: force Debian version to buster for Evolix repository (temporary)

View File

@ -4,32 +4,25 @@
name: evolix/apt
tasks_from: evolix_public.yml
- name: Install PHP packages (Debian 10 and later)
apt:
name: php-pear
state: present
when: ansible_distribution_major_version is version('10', '>=')
# /!\ Warning, this is a temporary hack
- include_role:
name: evolix/remount-usr
# /!\ Warning, this is a temporary hack
- name: Install PHP packages from sid (Debian 10 and later)
- name: Install PHP packages from sid (Debian 10)
apt:
deb: '{{ item }}'
state: present
loop:
- 'http://mirror.evolix.org/debian/pool/main/p/php-log/php-log_1.12.9-2_all.deb'
when: ansible_distribution_major_version is version('10', '>=')
when: ansible_distribution_major_version is version('10', '=')
- name: Install PHP packages (stretch)
- name: Install PHP packages
apt:
name:
- php-pear
- php-log
state: present
when: ansible_distribution_release == "stretch"
- name: Install PHP5 packages (jessie)
apt: