mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
define php_packages_extra in defaults
This commit is contained in:
parent
903e595c4b
commit
cb8438fde1
@ -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"
|
||||
|
||||
|
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user