Add git user and group

This commit is contained in:
flyingscorpio@clevo 2022-04-07 21:00:33 +02:00
parent 091d3c75db
commit 530e5e6800

View file

@ -0,0 +1,26 @@
---
- name: Install git
become: true
apt:
name: git
state: present
- name: Create git group
become: true
group:
name: git
system: true
- name: Create git user
become: true
user:
name: git
group: git
append: true
groups:
- sudo
- mail
create_home: true
home: /home/git
shell: /bin/bash
system: true