PR #165 follow-up: Adjust the variable name for php_packages_extra.

This commit is contained in:
Jeff Geerling 2017-01-06 11:37:07 -06:00
parent 79eafb32e3
commit 504f0d55ab
2 changed files with 6 additions and 6 deletions

View File

@ -18,9 +18,9 @@ A list of the PHP packages to install (OS-specific by default). You'll likely wa
_Note: If you're using Debian/Ubuntu, you also need to install `libapache2-mod-fastcgi` (for cgi/PHP-FPM) or `libapache2-mod-php7.0` (or a similar package depending on PHP version) if you want to use `mod_php` with Apache._
additional_php_packages: []
A list of additional PHP packages to install without overriding the default.
php_packages_extra: []
A list of extra PHP packages to install without overriding the default list.
php_enable_webserver: true

View File

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