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
9b60fed6
Commit
9b60fed6
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
2574a826
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
lamp_haproxy/aws/roles/base-apache/tasks/main.yml
lamp_haproxy/aws/roles/base-apache/tasks/main.yml
+7
-0
No files found.
lamp_haproxy/aws/roles/base-apache/tasks/main.yml
View file @
9b60fed6
...
...
@@ -5,6 +5,13 @@
yum
:
name={{ item }} state=present
with_items
:
-
httpd
-
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
:
http service state
service
:
name=httpd state=started enabled=yes
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