ansible-php/tests/includes/pre_Debian.yml

25 lines
479 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:
2019-01-28 20:46:58 +07:00
pkg: "{{ p }}"
2018-03-18 23:28:57 +07:00
update_cache: yes
cache_valid_time: 3600
2019-01-28 20:46:58 +07:00
vars:
p:
- apt-transport-https
- ca-certificates
- curl
- lsb-release
- nginx
2018-03-18 23:28:57 +07:00
- name: INCLUDE | Sury
include: Debian/sury.yml
when: >
2019-01-28 20:46:58 +07:00
ansible_distribution_major_version is version(9, 'eq') and
php_version is version('7.1', 'ge')