ansible-role-php/tasks/main.yml

12 lines
225 B
YAML

---
- name: "Ermmittle PHP-Version"
shell:
cmd: php -v | grep -Po '(?<=PHP )([0-9.]{3})'
register: php_version
changed_when: false
- import_tasks: packages.yml
tags: packages
- import_tasks: php.yml
tags: php