php/tasks/install.yml
2024-12-17 18:10:38 +01:00

21 lines
434 B
YAML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- name: php | installing php and modules
apt:
name:
- php{{ php_version }}-fpm
- php{{ php_version }}-common
- php{{ php_version }}-cli
- php{{ php_version }}-curl
- php{{ php_version }}-opcache
state: present
notify:
- restart php-fpm
- name: php | install extra modules
apt:
name: '{{ php_modules | list }}'
state: present
force: yes
notify:
- restart php-fpm