Skip to content

Commit dfad2cc

Browse files
committed
Now with idempotence.
1 parent 9014cc3 commit dfad2cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/security.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
state: started
2323

2424
- name: Ensure /var/log/messages exists.
25-
file:
26-
path: /var/log/messages
27-
state: touch
25+
copy:
26+
content: ""
27+
dest: /var/log/messages
28+
force: no
2829
mode: 0600
2930

3031
# Security test.

0 commit comments

Comments
 (0)