etc-git: secure /etc/.git

This commit is contained in:
Jérémy Lecour 2016-12-26 12:10:13 +01:00 committed by Jérémy Lecour
parent 001b58e1fe
commit 2ee354cea3
1 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,14 @@
creates: /etc/.git/
register: git_init
- name: /etc/.git is secure
file:
path: /etc/.git
owner: root
group: root
mode: 0700
state: directory
- name: /etc/.gitignore is present
copy:
src: gitignore