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
|
* Remove embedded GPG keys only if legacy keyring is present
|
||||||
* certbot: silence letsencrypt deprecation warnings
|
* certbot: silence letsencrypt deprecation warnings
|
||||||
* elasticsearch: 7.x by default
|
* elasticsearch: 7.x by default
|
||||||
|
* evoadmin-web: simpler PHP packages lists
|
||||||
* evocheck: upstream release 21.07
|
* evocheck: upstream release 21.07
|
||||||
* evolinux-base: alert5 comes after the network
|
* evolinux-base: alert5 comes after the network
|
||||||
* evolinux-base: force Debian version to buster for Evolix repository (temporary)
|
* evolinux-base: force Debian version to buster for Evolix repository (temporary)
|
||||||
|
|
|
@ -4,32 +4,25 @@
|
||||||
name: evolix/apt
|
name: evolix/apt
|
||||||
tasks_from: evolix_public.yml
|
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
|
# /!\ Warning, this is a temporary hack
|
||||||
- include_role:
|
- include_role:
|
||||||
name: evolix/remount-usr
|
name: evolix/remount-usr
|
||||||
|
|
||||||
# /!\ Warning, this is a temporary hack
|
# /!\ 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:
|
apt:
|
||||||
deb: '{{ item }}'
|
deb: '{{ item }}'
|
||||||
state: present
|
state: present
|
||||||
loop:
|
loop:
|
||||||
- 'http://mirror.evolix.org/debian/pool/main/p/php-log/php-log_1.12.9-2_all.deb'
|
- '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:
|
apt:
|
||||||
name:
|
name:
|
||||||
- php-pear
|
- php-pear
|
||||||
- php-log
|
- php-log
|
||||||
state: present
|
state: present
|
||||||
when: ansible_distribution_release == "stretch"
|
|
||||||
|
|
||||||
- name: Install PHP5 packages (jessie)
|
- name: Install PHP5 packages (jessie)
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in a new issue