Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Update geerlingguy.php-versions role to latest version, fix Ansible 2…
Browse files Browse the repository at this point in the history
….9.0 bug.
  • Loading branch information
geerlingguy committed Nov 1, 2019
1 parent 9fc2dde commit 0253623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion provisioning/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
- src: geerlingguy.php-tideways
version: 2.2.0
- src: geerlingguy.php-versions
version: 3.1.1
version: 3.1.2
- src: geerlingguy.php-xdebug
version: 2.5.1
- src: geerlingguy.php-xhprof
Expand Down
2 changes: 1 addition & 1 deletion provisioning/roles/geerlingguy.php-versions/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- "{{ role_path }}/vars/{{ ansible_os_family }}-php{{ php_version }}.yml"

- name: Define PHP variables.
set_fact: "{{ item.key }}={{ hostvars[inventory_hostname][item.value] }}"
set_fact: "{{ item.key }}={{ lookup('vars', item.value) }}"
when:
- hostvars[inventory_hostname][item.key] is undefined
- hostvars[inventory_hostname][item.value] is defined
Expand Down

0 comments on commit 0253623

Please sign in to comment.