whitespaces
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is passing

This commit is contained in:
Jérémy Lecour 2019-06-27 16:16:19 +02:00 committed by Jérémy Lecour
parent c147a4674d
commit b773e17560
5 changed files with 59 additions and 52 deletions

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