define php_packages_extra in defaults

This commit is contained in:
Hunter Lannon 2019-09-11 16:03:46 -07:00
parent 903e595c4b
commit cb8438fde1
2 changed files with 3 additions and 5 deletions

View File

@ -3,6 +3,9 @@
# for RHEL/CentOS.
php_enablerepo: ""
# No extra packages are installed by default
php_packages_extra: []
# Default PHP version to install on Debian-based OSes.
php_default_version_debian: "7.0"

View File

@ -8,11 +8,6 @@
php_packages: "{{ __php_packages | list }}"
when: php_packages is not defined
- name: Define extra php_packages.
set_fact:
php_packages: "{{ php_packages | list + php_packages_extra | list }}"
when: php_packages_extra is defined
- name: Define php_webserver_daemon.
set_fact:
php_webserver_daemon: "{{ __php_webserver_daemon }}"