summaryrefslogtreecommitdiff
path: root/roles/gitolite/tasks/gitolite-install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/gitolite/tasks/gitolite-install.yml')
-rw-r--r--roles/gitolite/tasks/gitolite-install.yml5
1 files changed, 0 insertions, 5 deletions
diff --git a/roles/gitolite/tasks/gitolite-install.yml b/roles/gitolite/tasks/gitolite-install.yml
index 5098e12c..7124b5ca 100644
--- a/roles/gitolite/tasks/gitolite-install.yml
+++ b/roles/gitolite/tasks/gitolite-install.yml
@@ -16,7 +16,6 @@
owner: "{{git_user}}"
group: "{{git_user}}"
mode: 0750
- when: hosttype == 'git-main'
with_items:
- /srv/gitolite/
- /srv/gitolite/logs/
@@ -31,7 +30,6 @@
owner={{ git_user }}
group={{ git_user }}
force=yes
- when: hosttype == 'git-main'
- name: Create local hooks directory
file: state=directory
@@ -39,7 +37,6 @@
owner={{ git_user }}
group={{ git_user }}
mode=0750
- when: hosttype == 'git-main'
- name: Create symlink to the repositories directory
file: state=link
@@ -48,7 +45,6 @@
owner={{ git_user }}
group={{ git_user }}
force=yes
- when: hosttype == 'git-main'
- name: Clone gitolite repository
git: repo=git://github.com/sitaramc/gitolite
@@ -57,7 +53,6 @@
accept_hostkey=yes
become: true
become_user: "{{git_user}}"
- when: hosttype == "git-main"
notify: gitolite-installation
- name: Initialize gitolite repo