+ nginx, php-fpm and octobercms playbooks

* separate wp-apache and nginx php-fpm playbooks
This commit is contained in:
2023-03-11 21:23:28 +03:00
parent 7fa274c876
commit 7d745761f2
21 changed files with 477 additions and 16 deletions

11
manala/manala.nginx.yml Normal file
View File

@ -0,0 +1,11 @@
---
- hosts: debian10
collections:
- nginxinc.nginx_core
- manala.roles
tasks:
- name: Install NGINX
ansible.builtin.include_role:
name: nginx
vars:
nginx_type: opensource

22
manala/manala.php.yml Normal file
View File

@ -0,0 +1,22 @@
---
- hosts: debian10
collections:
- nginxinc.nginx_core
- manala.roles
vars:
manala_apt_repositories:
- contrib
manala_apt_preferences:
- git@backports
- sury_php:100
- php@sury_php:300
- nginx@nginx
tasks:
- name: Install Manala APT
ansible.builtin.include_role:
name: manala.roles.apt
- name: Install PHP
ansible.builtin.include_role:
name: manala.roles.php
vars:
manala_php_version: 7.4