13 lines
255 B
YAML
13 lines
255 B
YAML
---
|
|
- import_tasks: packages.yml
|
|
tags: packages
|
|
|
|
- name: "Get 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
|
|
tags: php
|