25 lines
494 B
YAML
25 lines
494 B
YAML
---
|
|
|
|
- name: SET_FACT | Prepare test vars
|
|
ansible.builtin.set_fact:
|
|
__nginx_conf: /etc/nginx/nginx.conf
|
|
|
|
- name: APT | Install packages
|
|
ansible.builtin.apt:
|
|
pkg: "{{ p }}"
|
|
update_cache: true
|
|
cache_valid_time: 3600
|
|
vars:
|
|
p:
|
|
- apt-transport-https
|
|
- ca-certificates
|
|
- curl
|
|
- gpg
|
|
- lsb-release
|
|
- nginx
|
|
- vim
|
|
|
|
- name: INCLUDE_TASKS | Sury
|
|
ansible.builtin.include_tasks: Debian/sury.yml
|
|
when: php_version != php_default_version
|