This commit is contained in:
David Petric
2023-03-27 16:13:41 +02:00
parent a53d25caa9
commit 2d6606c0a4
11 changed files with 2094 additions and 0 deletions

View File

@ -0,0 +1,26 @@
---
- name: Install prerequisites
apt:
pkg:
- lsb-release
- ca-certificates
- apt-transport-https
- software-properties-common
- name: Add repository
shell: add-apt-repository ppa:ondrej/php -y
- name: Install PHP
apt:
pkg:
- php{{ php_version }}
- php{{ php_version }}-cli
- php{{ php_version }}-curl
- php{{ php_version }}-mysql
- php{{ php_version }}-fpm
- php{{ php_version }}-gd
- php{{ php_version }}-xml
- php{{ php_version }}-mbstring
- php{{ php_version }}-zip
- php{{ php_version }}-soap
- php{{ php_version }}-dev