ansible-php/tests/includes/pre_Debian.yml

25 lines
479 B
YAML

---
- name: SET_FACT | Prepare test vars
set_fact:
__nginx_conf: /etc/nginx/nginx.conf
- name: APT | Install packages
apt:
pkg: "{{ p }}"
update_cache: yes
cache_valid_time: 3600
vars:
p:
- apt-transport-https
- ca-certificates
- curl
- lsb-release
- nginx
- name: INCLUDE | Sury
include: Debian/sury.yml
when: >
ansible_distribution_major_version is version(9, 'eq') and
php_version is version('7.1', 'ge')