ansible-role-php/tasks/main.yml

14 lines
255 B
YAML
Raw Normal View History

2021-06-12 19:39:41 +02:00
---
- import_tasks: packages.yml
tags: packages
2023-02-07 17:24:57 +01:00
- name: "Get PHP version"
ansible.builtin.shell:
2022-01-14 23:32:15 +01:00
cmd: php -v | grep -Po '(?<=PHP )([0-9.]{3})'
register: php_version
changed_when: false
check_mode: false
- import_tasks: php.yml
tags: php