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
|
* nagios-nrpe: add check_postgrey
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
* etc-git: some entries of .gitignore are mandatory
|
||||||
* evocheck: update upstream script
|
* evocheck: update upstream script
|
||||||
* evolinux-base: improve hostname configuration (real vs. internal)
|
* evolinux-base: improve hostname configuration (real vs. internal)
|
||||||
* evolinux-base: use the "evolinux-todo" role
|
* evolinux-base: use the "evolinux-todo" role
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
aliases.db
|
# Default /etc/.gitignore file
|
||||||
*.swp
|
|
||||||
postfix/sa-blacklist.access
|
|
||||||
postfix/*.db
|
|
||||||
postfix/spamd.cidr
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
tags:
|
tags:
|
||||||
- etc-git
|
- etc-git
|
||||||
|
|
||||||
- name: /etc/.git is secure
|
- name: /etc/.git is restricted to root
|
||||||
file:
|
file:
|
||||||
path: /etc/.git
|
path: /etc/.git
|
||||||
owner: root
|
owner: root
|
||||||
|
@ -41,6 +41,20 @@
|
||||||
dest: /etc/.gitignore
|
dest: /etc/.gitignore
|
||||||
owner: root
|
owner: root
|
||||||
mode: "0600"
|
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:
|
tags:
|
||||||
- etc-git
|
- etc-git
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue