Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Mohamed Alibi
ansible-examples
Commits
5fbc7dda
Commit
5fbc7dda
authored
Sep 27, 2016
by
Dave Johnson
Committed by
GitHub
Sep 27, 2016
Browse files
Moved php, etc. installation from the web role to the base-apache role
parent
9b60fed6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
lamp_haproxy/aws/roles/web/tasks/main.yml
lamp_haproxy/aws/roles/web/tasks/main.yml
+0
-13
No files found.
lamp_haproxy/aws/roles/web/tasks/main.yml
View file @
5fbc7dda
---
# httpd is handled by the base-apache role upstream
-
name
:
Install php and git
yum
:
name={{ item }} state=present
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
when
:
sestatus.rc !=
0
-
name
:
Copy the code from repository
git
:
repo={{ repository }} version={{ webapp_version }} dest=/var/www/html/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment