forked from evolix/ansible-roles
whitespaces
This commit is contained in:
parent
c147a4674d
commit
b773e17560
|
@ -60,4 +60,3 @@
|
||||||
with_items:
|
with_items:
|
||||||
- evolinux-evasive
|
- evolinux-evasive
|
||||||
- evolinux-modsec
|
- evolinux-modsec
|
||||||
|
|
||||||
|
|
|
@ -65,4 +65,3 @@
|
||||||
with_items:
|
with_items:
|
||||||
- /var/log/evolix.log
|
- /var/log/evolix.log
|
||||||
- /etc/warnquota.conf
|
- /etc/warnquota.conf
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
|
|
||||||
- include: apache.yml
|
- include: apache.yml
|
||||||
|
|
||||||
- include: phpmyadmin.yml
|
# - include: phpmyadmin.yml
|
||||||
|
|
||||||
- include: awstats.yml
|
- include: awstats.yml
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,24 @@
|
||||||
name: apt
|
name: apt
|
||||||
tasks_from: evolix_public.yml
|
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:
|
apt:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
with_items:
|
||||||
- php-pear
|
- php-pear
|
||||||
- php-log
|
- php-log
|
||||||
|
when: ansible_lsb.codename == "stretch"
|
||||||
|
|
||||||
- name: Install PHP5 packages
|
- name: Install PHP5 packages (jessie)
|
||||||
apt:
|
apt:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
state: present
|
state: present
|
||||||
|
|
Loading…
Reference in a new issue