Improve security
This commit is contained in:
parent
028182d93d
commit
fd338b7276
2 changed files with 9 additions and 1 deletions
|
@ -1 +1 @@
|
|||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCzPLDnzhkaD4VlYNlWYeTyeMYW9aXzGh+WeQvlY6cG9Ipw3QG2KUOUXbY3lBza93fXx4F6gxwXcRI3r8/op4D6KzHIdtLGuOm3S08IfRnP83I6xILbTUzKflEAR6gtZMTdYdeWNUU6wpl2KlhH7r7viWkhTIc0yRvh5mktjMKXNJEalLW9ttC4/WXyNLE5uTen8w4BM1aKx15i+1i7k9ZYVsmHHpNyDDEmigAzdBD4s8qTyVaT/FarYzUfOcgLJYqYIoHJw+ZQnNcutzrSCwVsA15ACBCkJXt33r6WWlO2hOO6cAddVpQSXEw4INWSU+ipKtPnCke7OMP9Apjp6AvFnQDmMKvJYeV6QrMy0/a66OfOqjvfKgE4dKpQoa4jXux8BhBDTGBrbhmO55NGiRxrsoZGpcCbxaqw3EDPsDILtCDuxFUHhUGUraucLawzly3MZZm/kBXKAbEGQIj9juB/+LVB510baVfMmsaDx9f32xXt3va6vpk38RB3a926a22nEy7WGkCV40KnSX6Q8oIVxahtI7/3WtoZophey843CtXqxTkKYRRSw/fDyD+yhbQdGdRQpwBwrIZBqGK+i8Zr/l62nFBfTp/ldj26XvipoJtgcGaeTf/OyJHbwu3fAnj0nj0lFdSthE7EXwhiBnOISnYr7Osyj7epJugj3UIa/w== kotovalexarian@gmail.com
|
||||
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCzPLDnzhkaD4VlYNlWYeTyeMYW9aXzGh+WeQvlY6cG9Ipw3QG2KUOUXbY3lBza93fXx4F6gxwXcRI3r8/op4D6KzHIdtLGuOm3S08IfRnP83I6xILbTUzKflEAR6gtZMTdYdeWNUU6wpl2KlhH7r7viWkhTIc0yRvh5mktjMKXNJEalLW9ttC4/WXyNLE5uTen8w4BM1aKx15i+1i7k9ZYVsmHHpNyDDEmigAzdBD4s8qTyVaT/FarYzUfOcgLJYqYIoHJw+ZQnNcutzrSCwVsA15ACBCkJXt33r6WWlO2hOO6cAddVpQSXEw4INWSU+ipKtPnCke7OMP9Apjp6AvFnQDmMKvJYeV6QrMy0/a66OfOqjvfKgE4dKpQoa4jXux8BhBDTGBrbhmO55NGiRxrsoZGpcCbxaqw3EDPsDILtCDuxFUHhUGUraucLawzly3MZZm/kBXKAbEGQIj9juB/+LVB510baVfMmsaDx9f32xXt3va6vpk38RB3a926a22nEy7WGkCV40KnSX6Q8oIVxahtI7/3WtoZophey843CtXqxTkKYRRSw/fDyD+yhbQdGdRQpwBwrIZBqGK+i8Zr/l62nFBfTp/ldj26XvipoJtgcGaeTf/OyJHbwu3fAnj0nj0lFdSthE7EXwhiBnOISnYr7Osyj7epJugj3UIa/w== kotovalexarian@gmail.com
|
||||
|
|
|
@ -41,6 +41,14 @@
|
|||
group: git
|
||||
mode: 'u=rw,g=,o='
|
||||
|
||||
- name: Disable system info message
|
||||
copy:
|
||||
content: ''
|
||||
dest: /home/git/.hushlogin
|
||||
owner: root
|
||||
group: root
|
||||
mode: 'u=rw,g=r,o=r'
|
||||
|
||||
- name: Create directory for git repositories
|
||||
file:
|
||||
state: directory
|
||||
|
|
Reference in a new issue