Commit 5fbc7dda authored by Dave Johnson's avatar Dave Johnson Committed by GitHub
Browse files

Moved php, etc. installation from the web role to the base-apache role

parent 9b60fed6
# httpd is handled by the base-apache role upstream
- name: Install php and git
yum: name={{ item }} state=present
- php
- php-mysql
- git
- name: Configure SELinux to allow httpd to connect to remote database
seboolean: name=httpd_can_network_connect_db state=true persistent=yes
when: sestatus.rc != 0
- name: Copy the code from repository
git: repo={{ repository }} version={{ webapp_version }} dest=/var/www/html/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment