diff --git a/README.md b/README.md index 541971c..5e5c297 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr ansible.builtin.file: path: "{{ item }}" state: directory + mode: "0755" loop: - /var/log/example - /var/log/example-frequency @@ -128,6 +129,7 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr ansible.builtin.copy: dest: "{{ item }}" content: "example" + mode: "0644" loop: - /var/log/example/app.log - /var/log/example-frequency/app.log @@ -139,6 +141,7 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr - /var/log/example-script/app.log - /var/log/example-sharedscripts/app.log - /var/log/example-dateyesterday/app.log + - /var/log/example-keep-negative/app.log - /var/log/btmp - /var/log/wtmp - /var/log/hawkey.log diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index 08102f8..f49508f 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -13,6 +13,7 @@ ansible.builtin.file: path: "{{ item }}" state: directory + mode: "0755" loop: - /var/log/example - /var/log/example-frequency @@ -30,6 +31,7 @@ ansible.builtin.copy: dest: "{{ item }}" content: "example" + mode: "0644" loop: - /var/log/example/app.log - /var/log/example-frequency/app.log @@ -41,6 +43,7 @@ - /var/log/example-script/app.log - /var/log/example-sharedscripts/app.log - /var/log/example-dateyesterday/app.log + - /var/log/example-keep-negative/app.log - /var/log/btmp - /var/log/wtmp - /var/log/hawkey.log