Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Commit 89660a6

Browse files
author
speedlight
committed
yum deprectation warnings for wordpress-nginx_rhel7 playbook
1 parent 4d12e8e commit 89660a6

File tree

3 files changed

+20
-18
lines changed

3 files changed

+20
-18
lines changed

wordpress-nginx_rhel7/group_vars/all

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff 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
2828
core_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

wordpress-nginx_rhel7/roles/mariadb/tasks/main.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
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

wordpress-nginx_rhel7/roles/php-fpm/tasks/main.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
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

0 commit comments

Comments
 (0)