initial commit

This commit is contained in:
Ludovic Cartier
2024-12-17 18:10:38 +01:00
parent c3b1ce9466
commit 486772da13
5 changed files with 60 additions and 0 deletions

20
tasks/install.yml Normal file
View File

@@ -0,0 +1,20 @@
---
- 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