php: Ermittle php-Version erst nach Installation
This commit is contained in:
parent
1cb7e5332d
commit
7b90d5fd33
1 changed files with 7 additions and 7 deletions
|
@ -1,13 +1,13 @@
|
||||||
---
|
---
|
||||||
- name: "Ermmittle PHP-Version"
|
|
||||||
shell:
|
|
||||||
cmd: php -v | grep -Po '(?<=PHP )([0-9.]{3})'
|
|
||||||
register: php_version
|
|
||||||
changed_when: false
|
|
||||||
check_mode: no
|
|
||||||
|
|
||||||
- import_tasks: packages.yml
|
- import_tasks: packages.yml
|
||||||
tags: packages
|
tags: packages
|
||||||
|
|
||||||
|
- name: "Ermmittle PHP-Version"
|
||||||
|
ansible.builtin.shell:
|
||||||
|
cmd: php -v | grep -Po '(?<=PHP )([0-9.]{3})'
|
||||||
|
register: php_version
|
||||||
|
changed_when: false
|
||||||
|
check_mode: false
|
||||||
|
|
||||||
- import_tasks: php.yml
|
- import_tasks: php.yml
|
||||||
tags: php
|
tags: php
|
||||||
|
|
Loading…
Reference in a new issue