Ermittle PHP-Version auch im --check-Modus

Dies dürfte die `--check`-Ausführung von mehreren Rollen ermöglichen.
This commit is contained in:
Lars Kruse 2022-11-30 14:30:32 +01:00
parent fc7c14eda5
commit ae31092b2a

View file

@ -4,6 +4,7 @@
cmd: php -v | grep -Po '(?<=PHP )([0-9.]{3})'
register: php_version
changed_when: false
check_mode: no
- import_tasks: packages.yml
tags: packages