ansible-roles/webapps/evoadmin-web/tasks/packages.yml

33 lines
724 B
YAML

---
- include_role:
name: evolix/apt
tasks_from: evolix_public.yml
# /!\ 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)
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', '=')
- name: Install PHP packages
apt:
name:
- php-pear
- php-log
state: present
- name: Install PHP5 packages (jessie)
apt:
name: php5-pam
state: present
allow_unauthenticated: True
when: ansible_distribution_release == "jessie"