Fix pkgng calls

This commit is contained in:
Emilien Mantel
2021-09-01 09:33:16 +02:00
parent a6e75032a5
commit 6881f70517
6 changed files with 10 additions and 7 deletions

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'