1
0
Fork 0

Add git shell

This commit is contained in:
Alex Kotov 2020-01-25 04:57:27 +05:00
parent b9b9ba802c
commit dd40a6a61e
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 19 additions and 0 deletions

11
files/shells Normal file
View file

@ -0,0 +1,11 @@
# /etc/shells: valid login shells
/bin/sh
/bin/bash
/usr/bin/bash
/bin/rbash
/usr/bin/rbash
/bin/dash
/usr/bin/dash
/usr/bin/git-shell
/usr/bin/tmux
/usr/bin/screen

View file

@ -42,6 +42,14 @@
group: git
mode: 'u=rwx,g=rwx,o=rx'
- name: Add git shell
copy:
src: ../../files/shells
dest: /etc/shells
owner: root
group: root
mode: 'u=rw,g=r,o=r'
- name: Install system packages
apt:
name: