Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit a881cf2

Browse files
committed
imove chmod to end because of generated files
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
1 parent 29a4356 commit a881cf2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tasks/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
---
2-
- name: config should not be worldwide read- or writeable
3-
file:
4-
path: "/etc/nginx"
5-
mode: "o-rw"
6-
owner: "root"
7-
group: "root"
8-
recurse: true
9-
102
- name: create additional configuration
113
template:
124
src: "hardening.conf.j2"
@@ -97,3 +89,11 @@
9789
args:
9890
creates: "/etc/nginx/dh{{ nginx_dh_size }}.pem"
9991
notify: restart nginx
92+
93+
- name: config should not be worldwide read- or writeable
94+
file:
95+
path: "/etc/nginx"
96+
mode: "o-rw"
97+
owner: "root"
98+
group: "root"
99+
recurse: true

0 commit comments

Comments
 (0)