25 lines
495 B
YAML
25 lines
495 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_TASKS | Sury
|
|
include_tasks: Debian/sury.yml
|
|
when:
|
|
(ansible_distribution_major_version is version('9', 'eq')) and
|
|
(php_version is version('7.1', 'ge'))
|