Skip to content

Commit

Permalink
Merge pull request #55 from webarchitect609/bugfix/Unusable_php_packa…
Browse files Browse the repository at this point in the history
…ges_variable

fix: Unusable php_packages variable
  • Loading branch information
geerlingguy committed Feb 22, 2021
2 parents 8d456ca + 5b3cf3f commit 7460ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7460ff2

Please sign in to comment.