summaryrefslogtreecommitdiffstats
path: root/roles/local_deploy/tasks
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-12-13 01:20:39 +0100
committerMichael Scherer <misc@zarb.org>2014-12-13 01:20:39 +0100
commitebe4259b58a9172bec1d24f1153a9a44e2c89030 (patch)
tree3f27f253a5d27fd954d05daf20e3eeb62a023b1b /roles/local_deploy/tasks
parentfd304d912f6b5087d7e9c5d9aef50603cbe1eae8 (diff)
Depend on the new git_repositories role
Diffstat (limited to 'roles/local_deploy/tasks')
-rw-r--r--roles/local_deploy/tasks/main.yml15
1 files changed, 0 insertions, 15 deletions
diff --git a/roles/local_deploy/tasks/main.yml b/roles/local_deploy/tasks/main.yml
index 5b39bf0..22d0b03 100644
--- a/roles/local_deploy/tasks/main.yml
+++ b/roles/local_deploy/tasks/main.yml
@@ -2,21 +2,6 @@
- yum: name={{ item }} state=installed
with_items:
- ansible
- - git
-
-- command: semanage fcontext -t git_user_content_t -a '{{ git_repositories_dir }}(/.*)?'
-
-- file: path={{ git_repositories_dir }} state=directory
-
-- file: path={{ git_repositories_dir }}/{{ item }} state=directory
- with_items:
- - public
- - private
-
-- shell: creates={{ git_repositories_dir }}/{{ item }}/config chdir={{ git_repositories_dir }}/{{ item }} git init --bare -q --shared=group
- with_items:
- - public
- - private
- copy: dest={{ git_repositories_dir }}/{{ item }}/hooks/post-receive src=post-receive.{{ item }}.sh mode=0755
with_items: