diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2023-01-18 21:06:21 +0100 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-04-02 11:45:09 +0200 |
commit | 1cdb3d7f5aa68be5d90cfbbbc69918ac7823a8ae (patch) | |
tree | fe3c16ac9c525e1be9ff61b8ff450c2b3346bfbc /roles/git/tasks | |
parent | cb6189507ab4f6c6db960105c69b69e92f7710c0 (diff) | |
download | rules-1cdb3d7f5aa68be5d90cfbbbc69918ac7823a8ae.tar.gz |
feat(roles/git): add argument specs
Diffstat (limited to 'roles/git/tasks')
-rw-r--r-- | roles/git/tasks/main.yml | 11 |
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 |