etc-git: secure /etc/.git
This commit is contained in:
parent
001b58e1fe
commit
2ee354cea3
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue