Merge pull request #55 from webarchitect609/bugfix/Unusable_php_packages_variable

fix: Unusable php_packages variable
This commit is contained in:
Jeff Geerling 2021-02-22 15:42:32 -06:00 committed by GitHub
commit 7460ff2c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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