forked from evolix/ansible-roles
etc-git: some entries of .gitignore are mandatory
This commit is contained in:
parent
fe064c16d1
commit
d138c00db8
|
@ -30,6 +30,7 @@ The **patch** part changes incrementally at each release.
|
|||
* nagios-nrpe: add check_postgrey
|
||||
|
||||
### Changed
|
||||
* etc-git: some entries of .gitignore are mandatory
|
||||
* evocheck: update upstream script
|
||||
* evolinux-base: improve hostname configuration (real vs. internal)
|
||||
* evolinux-base: use the "evolinux-todo" role
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
aliases.db
|
||||
*.swp
|
||||
postfix/sa-blacklist.access
|
||||
postfix/*.db
|
||||
postfix/spamd.cidr
|
||||
# Default /etc/.gitignore file
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
tags:
|
||||
- etc-git
|
||||
|
||||
- name: /etc/.git is secure
|
||||
- name: /etc/.git is restricted to root
|
||||
file:
|
||||
path: /etc/.git
|
||||
owner: root
|
||||
|
@ -41,6 +41,20 @@
|
|||
dest: /etc/.gitignore
|
||||
owner: root
|
||||
mode: "0600"
|
||||
force: no
|
||||
tags:
|
||||
- etc-git
|
||||
|
||||
- name: Some entries MUST be in the /etc/.gitignore file
|
||||
lineinfile:
|
||||
dest: /etc/.gitignore
|
||||
line: "{{ item }}"
|
||||
with_items:
|
||||
- "aliases.db"
|
||||
- "*.swp"
|
||||
- "postfix/sa-blacklist.access"
|
||||
- "postfix/*.db"
|
||||
- "postfix/spamd.cidr"
|
||||
tags:
|
||||
- etc-git
|
||||
|
||||
|
|
Loading…
Reference in a new issue