Skip to content

Commit

Permalink
Merge pull request #22 from dglinder/patch-1
Browse files Browse the repository at this point in the history
Gather package_facts if not defined
  • Loading branch information
combssm authored Jul 13, 2023
2 parents 8790927 + 5e35cfc commit 2d0ecbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/facts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
- name: Ensure we have package facts
ansible.builtin.package_facts:
manager: auto
when:
- ansible_facts.packages is not defined

- name: Set installed PHP version
vars:
package: php-fpm
Expand Down

0 comments on commit 2d0ecbf

Please sign in to comment.