Skip to content

Commit

Permalink
Also check the PHP version in check mode
Browse files Browse the repository at this point in the history
  • Loading branch information
medanthelinium committed Feb 7, 2024
1 parent 5c15ddc commit bd274e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tasks/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- name: Get PHP version
changed_when: no
register: php_version_full
check_mode: no
ansible.builtin.shell:
cmd: >-
php -r 'echo phpversion();' | grep -o '[0-9]\.[0-9]' | head -n1
Expand Down

0 comments on commit bd274e7

Please sign in to comment.