forked from evolix/ansible-roles
evoadmin-web: simpler PHP packages lists
This commit is contained in:
parent
c9f25f4638
commit
d186e21239
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue