We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f9288 commit 25512afCopy full SHA for 25512af
playbooks/roles/must-gather/tasks/main.yml
@@ -8,7 +8,23 @@
8
- debug:
9
var: must_gather_output.stdout_lines
10
11
+- name: Set permissions for must-gather directory
12
+ file:
13
+ path: "{{ must_gather_dest }}"
14
+ owner: root
15
+ group: root
16
+ mode: '0755'
17
+ state: directory
18
+
19
- name: Compress must-gather logs
20
command: tar -czf {{ must_gather_archive }} -C {{ must_gather_dest | dirname }} {{ must_gather_dest | basename }}
21
args:
- creates: "{{ must_gather_archive }}"
22
+ creates: "{{ must_gather_archive }}"
23
24
+- name: Set permissions for must-gather tarball
25
26
+ path: "{{ must_gather_archive }}"
27
28
29
+ mode: '0644'
30
+ state: file
0 commit comments