WIP: preparation for Buster #60

Manually merged
jlecour merged 25 commits from buster into stable 2020-05-13 11:25:49 +02:00
5 changed files with 59 additions and 52 deletions
Showing only changes of commit b773e17560 - Show all commits

View file

@ -60,4 +60,3 @@
with_items:
- evolinux-evasive
- evolinux-modsec

View file

@ -65,4 +65,3 @@
with_items:
- /var/log/evolix.log
- /etc/warnquota.conf

View file

@ -65,7 +65,7 @@
- include: apache.yml
- include: phpmyadmin.yml
# - include: phpmyadmin.yml
- include: awstats.yml

View file

@ -4,15 +4,24 @@
name: apt
tasks_from: evolix_public.yml
- name: Install PHP packages
- name: Install PHP packages (Debian 10 and later)
apt:
name: '{{ item }}'
state: present
with_items:
- php-pear
when: ansible_distribution_major_version | version_compare('10', '>=')
- name: Install PHP packages (stretch)
apt:
name: '{{ item }}'
state: present
with_items:
- php-pear
- php-log
when: ansible_lsb.codename == "stretch"
- name: Install PHP5 packages
- name: Install PHP5 packages (jessie)
apt:
name: '{{ item }}'
state: present