aboutsummaryrefslogtreecommitdiffstats
path: root/group_vars
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-05-14 12:58:25 +0800
committerAaron LI <aly@aaronly.me>2018-05-14 12:58:59 +0800
commitc8dc9e163b50272bf8e3972c8ef37ea3e871b247 (patch)
tree515686d24df67aaf10c244efb09f855ccbb4e188 /group_vars
parent7a1b276f7b2c9478e28c16bb18e3095bd4b49e15 (diff)
downloadansible-dfly-vps-c8dc9e163b50272bf8e3972c8ef37ea3e871b247.tar.bz2
git: Use gitolite to replace the git-shell shipped with git
Diffstat (limited to 'group_vars')
-rw-r--r--group_vars/all/vars.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml
index 4776fe3..5c7cead 100644
--- a/group_vars/all/vars.yml
+++ b/group_vars/all/vars.yml
@@ -6,7 +6,7 @@
deploy_user: ansible
-ansible_ssh_private_key_file: ./private/ssh/ansible.key
+ansible_ssh_private_key_file: "{{ playbook_dir }}/private/ssh/ansible.key"
pf:
# number of simulataneous connections allowed from one host
@@ -190,8 +190,6 @@ git:
name: git # user & group name
id: 5001 # uid & gid
home: /home/git
- shell: /usr/local/libexec/git-core/git-shell
- ssh_keydir: "{{ playbook_dir }}/private/git/keys"
# Name of the directory that contains links to the public repos
public_dir: repos.public
# Sync public repos to GitHub