forked from evolix/ansible-roles
67664ec0e2
Recommends using true or false values directly instead of the truthy and falsie yes True and etc. This also means that we can get rid of the cast to booleans in some of the checks. The other fixes are mostly in the realm of indentation and whitespace.
23 lines
381 B
YAML
23 lines
381 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: true
|
|
with_items:
|
|
- php5-pam
|
|
when: ansible_distribution_release == "jessie"
|