From 75b32e60aad2bc2d8d1746be1dbc6d6bf422592e Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 19 Nov 2020 14:13:28 +0100 Subject: Move roles functionnality in sub-roles --- roles/git/tasks/main.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 roles/git/tasks/main.yml (limited to 'roles/git/tasks') diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml new file mode 100644 index 0000000..74481e4 --- /dev/null +++ b/roles/git/tasks/main.yml @@ -0,0 +1,20 @@ + +# git ~~ roles/git/tasks/main.yml +# Init git user and settings + +--- + +- name: create git-only directory + file: + path: /data/git + owner: git + group: git + state: directory + mode: 0741 + +- name: create git user + user: + name: git + group: git + shell: "{{ path_gitshell }}" + -- cgit v1.2.3