ansible-php/tests/includes/pre_Debian.yml

25 lines
494 B
YAML
Raw Normal View History

2018-03-18 23:28:57 +07:00
---
- name: SET_FACT | Prepare test vars
2021-08-31 18:02:57 +07:00
ansible.builtin.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
2021-08-31 18:02:57 +07:00
ansible.builtin.apt:
2019-01-28 20:46:58 +07:00
pkg: "{{ p }}"
2021-08-31 16:05:00 +07:00
update_cache: true
2018-03-18 23:28:57 +07:00
cache_valid_time: 3600
2019-01-28 20:46:58 +07:00
vars:
p:
- apt-transport-https
- ca-certificates
- curl
2021-08-31 15:34:50 +07:00
- gpg
2019-01-28 20:46:58 +07:00
- lsb-release
- nginx
- vim
2018-03-18 23:28:57 +07:00
2019-04-19 15:28:00 +07:00
- name: INCLUDE_TASKS | Sury
2021-08-31 18:02:57 +07:00
ansible.builtin.include_tasks: Debian/sury.yml
2021-08-31 15:34:50 +07:00
when: php_version != php_default_version