mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-03-16 11:02:10 +07:00
Use FQCN builtins
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
---
|
||||
|
||||
- name: APT | Install Sury key
|
||||
apt_key:
|
||||
ansible.builtin.apt_key:
|
||||
url: 'https://packages.sury.org/php/apt.gpg'
|
||||
|
||||
- name: APT_REPOSITORY | Add Sury repository
|
||||
apt_repository:
|
||||
ansible.builtin.apt_repository:
|
||||
repo: 'deb https://packages.sury.org/php/ {{ ansible_distribution_release }} main'
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
|
||||
- name: SET_FACT | Prepare test vars
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
__nginx_conf: /etc/nginx/nginx.conf
|
||||
|
||||
- name: APT | Install packages
|
||||
apt:
|
||||
ansible.builtin.apt:
|
||||
pkg: "{{ p }}"
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
@@ -20,5 +20,5 @@
|
||||
- vim
|
||||
|
||||
- name: INCLUDE_TASKS | Sury
|
||||
include_tasks: Debian/sury.yml
|
||||
ansible.builtin.include_tasks: Debian/sury.yml
|
||||
when: php_version != php_default_version
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
---
|
||||
|
||||
- name: SET_FACT | Prepare test vars
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
__nginx_conf: /usr/local/etc/nginx/nginx.conf
|
||||
php_xdebug_package: 'php72-pecl-xdebug-2.6.1'
|
||||
|
||||
- name: PKGNG | Install packages
|
||||
pkgng:
|
||||
ansible.builtin.pkgng:
|
||||
name: ['curl', 'nginx']
|
||||
|
||||
Reference in New Issue
Block a user