From 1cdb3d7f5aa68be5d90cfbbbc69918ac7823a8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Wed, 18 Jan 2023 21:06:21 +0100 Subject: feat(roles/git): add argument specs --- roles/git/tasks/main.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'roles/git/tasks') 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 -- cgit v1.2.3