You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
423 B
15 lines
423 B
---
|
|
|
|
# httpd is handled by the base-apache role upstream
|
|
- name: Install php and git
|
|
yum: name=$item state=installed
|
|
with_items:
|
|
- 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
|
|
|
|
- name: Copy the code from repository
|
|
git: repo=${repository} version=${webapp_version} dest=/var/www/html/
|
|
|