ansible-php/tests/includes/pre_Debian.yml

24 lines
485 B
YAML
Raw Normal View History

2018-03-18 23:28:57 +07:00
---
- name: SET_FACT | Prepare test vars
set_fact:
2018-03-19 03:29:47 +07:00
__nginx_conf: /etc/nginx/nginx.conf
2018-03-18 23:28:57 +07:00
- name: APT | Install packages
apt:
pkg: "{{ item }}"
update_cache: yes
cache_valid_time: 3600
with_items:
- apt-transport-https
- ca-certificates
- curl
- lsb-release
- nginx
- name: INCLUDE | Sury
include: Debian/sury.yml
when: >
ansible_distribution_major_version | version_compare(9, 'eq') and
php_version | version_compare('7.1', 'ge')