diff options
author | binary <me@rgoncalves.se> | 2020-12-16 10:59:29 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-12-16 16:10:25 +0100 |
commit | 9de78f13f2bf5ef37b4b0a098d970d3a518faaaf (patch) | |
tree | c4f24518639d705155bdc86466a7b05d906f5a7a /roles/git/tasks | |
parent | 7e823002132239fdada055364cd9572bb839c187 (diff) | |
download | infrastructure-9de78f13f2bf5ef37b4b0a098d970d3a518faaaf.tar.gz |
Introduce variable for git role
Diffstat (limited to 'roles/git/tasks')
-rw-r--r-- | roles/git/tasks/main.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index c909acd..9e8c7c6 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -6,20 +6,20 @@ - name: create git group group: - name: git + name: "{{ git_group }}" state: present - name: create git user user: - name: git - group: git + name: "{{ git_user }}" + group: "{{ git_group }}" shell: "{{ path_gitshell }}" - name: create git-only directory file: - path: /data/git - owner: git - group: git + path: "{{ git_dir }}" + owner: "{{ git_user }}" + group: "{{ git_group }}" state: directory mode: 0741 |