aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/git/tasks')
-rw-r--r--roles/git/tasks/main.yml11
1 files changed, 2 insertions, 9 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml
index 1f9d3d1..467378d 100644
--- a/roles/git/tasks/main.yml
+++ b/roles/git/tasks/main.yml
@@ -16,18 +16,15 @@
group: "{{ git_group }}"
shell: "{{ git_shell }}"
home: "{{ git_dir }}"
- create_home: false
+ create_home: true
- name: create git directories
ansible.builtin.file:
- path: "{{ item }}"
+ path: "{{ git_dir }}/git-shell-commands"
owner: "{{ git_user }}"
group: "{{ git_group }}"
state: directory
mode: "0755"
- loop:
- - "{{ git_dir }}"
- - "{{ git_dir }}/git-shell-commands"
- name: generate git-shell no-login prompt
ansible.builtin.template:
@@ -45,7 +42,3 @@
owner: "{{ git_user }}"
group: "{{ git_group }}"
mode: "0644"
-
-- name: include ssh key synchronization
- ansible.builtin.include_role:
- name: sshd_keys
remember that computers suck.