This repository was archived by the owner on May 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-18
lines changed Expand file tree Collapse file tree 3 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,21 @@ auto_up_disable: false
2626# false = Development, minor, and major updates are all disabled
2727# minor = Minor updates are enabled, development, and major updates are disabled
2828core_update_level: true
29+
30+ mariadb_packages:
31+ - mariadb-server
32+ - MySQL-python
33+ - libselinux-python
34+ - libsemanage-python
35+
36+ php_packages:
37+ - php
38+ - php-fpm
39+ - php-enchant
40+ - php-IDNA_Convert
41+ - php-mbstring
42+ - php-mysql
43+ - php-PHPMailer
44+ - php-process
45+ - php-simplepie
46+ - php-xml
Original file line number Diff line number Diff line change 22# This playbook will install MariaDB and create db user and give permissions.
33
44- name : Install MariaDB package
5- yum : name={{ item }} state=installed
6- with_items :
7- - mariadb-server
8- - MySQL-python
9- - libselinux-python
10- - libsemanage-python
5+ yum : name={{ mariadb_packages }} state=installed
116
127- name : Configure SELinux to start mysql on any port
138 seboolean : name=mysql_connect_any state=true persistent=yes
Original file line number Diff line number Diff line change 11---
22- name : Install php-fpm and deps
3- yum : name={{ item }} state=present
4- with_items :
5- - php
6- - php-fpm
7- - php-enchant
8- - php-IDNA_Convert
9- - php-mbstring
10- - php-mysql
11- - php-PHPMailer
12- - php-process
13- - php-simplepie
14- - php-xml
3+ yum : name={{ php_packages }} state=present
154
165- name : Disable default pool
176 command : mv /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.disabled creates=/etc/php-fpm.d/www.disabled
You can’t perform that action at this time.
0 commit comments