Add git shell
This commit is contained in:
parent
b9b9ba802c
commit
dd40a6a61e
2 changed files with 19 additions and 0 deletions
11
files/shells
Normal file
11
files/shells
Normal 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
|
|
@ -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:
|
||||
|
|
Reference in a new issue