Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible-examples.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Johnson <dave@ansibleworks.com>2016-09-27 19:02:16 +0300
committerGitHub <noreply@github.com>2016-09-27 19:02:16 +0300
commit5fbc7dda056692eb763b20d3cad27eec2b34a1e2 (patch)
treeafbdab07df31ff69c6600b0ca0d6d494f37446e0
parent9b60fed6f3a10d7d44fc36ce3087d40b5760eef3 (diff)
Moved php, etc. installation from the web role to the base-apache role
-rw-r--r--lamp_haproxy/aws/roles/web/tasks/main.yml13
1 files changed, 0 insertions, 13 deletions
diff --git a/lamp_haproxy/aws/roles/web/tasks/main.yml b/lamp_haproxy/aws/roles/web/tasks/main.yml
index 7225312..e3141ac 100644
--- a/lamp_haproxy/aws/roles/web/tasks/main.yml
+++ b/lamp_haproxy/aws/roles/web/tasks/main.yml
@@ -1,16 +1,3 @@
---
-
-# 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/