diff options
Diffstat (limited to 'roles/git')
-rw-r--r-- | roles/git/tasks/main.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index 851287e..193844f 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -1,15 +1,15 @@ - name: install git package - package: + ansible.builtin.package: name: git state: present - name: create git group - group: + ansible.builtin.group: name: "{{ git_group }}" state: present - name: create git user - user: + ansible.builtin.user: name: "{{ git_user }}" group: "{{ git_group }}" shell: "{{ git_shell }}" @@ -17,7 +17,7 @@ create_home: false - name: create git directories - file: + ansible.builtin.file: path: "{{ item }}" owner: "{{ git_user }}" group: "{{ git_group }}" @@ -28,7 +28,7 @@ - "{{ git_dir }}/git-shell-commands" - name: generate git-shell no-login prompt - template: + ansible.builtin.template: src: no-interactive-login.j2 dest: "{{ git_dir }}/git-shell-commands/no-interactive-login" owner: "{{ git_user }}" @@ -37,7 +37,7 @@ when: not git_allow_ssh_login - name: generate gitconfig - template: + ansible.builtin.template: src: gitconfig.j2 dest: "{{ git_dir }}/.gitconfig" owner: "{{ git_user }}" @@ -45,6 +45,6 @@ mode: 0644 - name: include ssh key synchronization - include_role: + ansible.builtin.include_role: name: sshd tasks_from: synchronize_keys.yml |