ansible-role-phpmyadmin/tasks/main.yml

15 lines
330 B
YAML
Raw Normal View History

2024-01-04 07:37:47 +01:00
---
- name: Get PHP version
ansible.builtin.shell:
cmd: php -v | grep -Po '(?<=PHP )([0-9.]{3})'
register: php_version
changed_when: false
- name: Install packages
ansible.builtin.import_tasks: packages.yml
tags: packages
- name: Configure webserver
ansible.builtin.import_tasks: webserver.yml
tags: webserver