mirror of
https://github.com/HanXHX/ansible-php.git
synced 2026-11-14 04:29:01 +07:00
Fix pkgng calls
This commit is contained in:
1 parent
a6e75032a5
commit
6881f70517
6 files changed
+10
-7
No files matched your search
+1
-1
@@ -71,7 +71,7 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: PKGNG | Install PHP packages
|
||||
ansible.builtin.pkgng:
|
||||
community.general.pkgng:
|
||||
name: "{{ php_packages + php_extra_packages | flatten | join(',') }}"
|
||||
notify: restart php-fpm
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
+2
-2
@@ -15,11 +15,11 @@
|
||||
- block:
|
||||
|
||||
- name: PKGNG | Install APCu
|
||||
ansible.builtin.pkgng:
|
||||
community.general.pkgng:
|
||||
name: "php{{ php_version | replace('.', '') }}-pecl-APCu"
|
||||
|
||||
- name: PKGNG | Install Opcache
|
||||
ansible.builtin.pkgng:
|
||||
community.general.pkgng:
|
||||
name: "{{ php_package_prefix }}opcache"
|
||||
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
+2
-2
@@ -11,7 +11,7 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: PKGNG | Install xdebug
|
||||
ansible.builtin.pkgng:
|
||||
community.general.pkgng:
|
||||
name: "{{ php_xdebug_package }}"
|
||||
when: ansible_os_family == 'FreeBSD' and php_xdebug_package is defined
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- name: PKGNG | Uninstall xdebug
|
||||
ansible.builtin.pkgng:
|
||||
community.general.pkgng:
|
||||
name: "{{ php_xdebug_package }}"
|
||||
state: absent
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
Reference in new issue
Block a user