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

Commit

Permalink
yum deprectation warnings for wordpress-nginx_rhel7 playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
speedlight committed Nov 21, 2018
1 parent 9de9b8a commit d86637c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
18 changes: 18 additions & 0 deletions wordpress-nginx_rhel7/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,21 @@ auto_up_disable: false
# false = Development, minor, and major updates are all disabled
# minor = Minor updates are enabled, development, and major updates are disabled
core_update_level: true

mariadb_packages:
- mariadb-server
- MySQL-python
- libselinux-python
- libsemanage-python

php_packages:
- php
- php-fpm
- php-enchant
- php-IDNA_Convert
- php-mbstring
- php-mysql
- php-PHPMailer
- php-process
- php-simplepie
- php-xml
7 changes: 1 addition & 6 deletions wordpress-nginx_rhel7/roles/mariadb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
# This playbook will install MariaDB and create db user and give permissions.

- name: Install MariaDB package
yum: name={{ item }} state=installed
with_items:
- mariadb-server
- MySQL-python
- libselinux-python
- libsemanage-python
yum: name={{ mariadb_packages }} state=installed

- name: Configure SELinux to start mysql on any port
seboolean: name=mysql_connect_any state=true persistent=yes
Expand Down
13 changes: 1 addition & 12 deletions wordpress-nginx_rhel7/roles/php-fpm/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
---
- name: Install php-fpm and deps
yum: name={{ item }} state=present
with_items:
- php
- php-fpm
- php-enchant
- php-IDNA_Convert
- php-mbstring
- php-mysql
- php-PHPMailer
- php-process
- php-simplepie
- php-xml
yum: name={{ php_packages }} state=present

- name: Disable default pool
command: mv /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.disabled creates=/etc/php-fpm.d/www.disabled
Expand Down

0 comments on commit d86637c

Please sign in to comment.