ansible-roles/webapps/evoadmin-web/tasks/packages.yml
Jérémy Lecour bee57a0b3c
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is failing
change distribution release codename
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
2019-06-18 17:35:28 +02:00

23 lines
366 B
YAML

---
- include_role:
name: apt
tasks_from: evolix_public.yml
- name: Install PHP packages
apt:
name: '{{ item }}'
state: present
with_items:
- php-pear
- php-log
- name: Install PHP5 packages
apt:
name: '{{ item }}'
state: present
allow_unauthenticated: yes
with_items:
- php5-pam
when: ansible_lsb.codename == "jessie"