mirror of
https://github.com/geerlingguy/ansible-role-php-versions.git
synced 2024-11-22 10:25:40 +01:00
Merge pull request #55 from webarchitect609/bugfix/Unusable_php_packages_variable
fix: Unusable php_packages variable
This commit is contained in:
commit
7460ff2c19
@ -8,8 +8,8 @@
|
||||
- name: Define PHP variables.
|
||||
set_fact: "{{ item.key }}={{ lookup('vars', item.value) }}"
|
||||
when:
|
||||
- hostvars[inventory_hostname][item.key] is undefined
|
||||
- hostvars[inventory_hostname][item.value] is defined
|
||||
- vars[item.key] is undefined
|
||||
- vars[item.value] is defined
|
||||
with_dict:
|
||||
php_conf_paths: __php_conf_paths
|
||||
php_extension_conf_paths: __php_extension_conf_paths
|
||||
|
Loading…
Reference in New Issue
Block a user