Skip to content

Commit 6181718

Browse files
committed
It's easier to change permissions on the host results than ownership.
1 parent fdce8e3 commit 6181718

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

etc/kayobe/ansible/stackhpc-cloud-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@
148148
failed_when: host_results.rc not in [0, 1]
149149
register: host_results
150150
when: "'overcloud' in group_names"
151-
# Some checks may need root hence we chmod the resulting html for reading
151+
# Some host checks may need to run as root
152152
become: true
153-
# Host test results will be owned by root and unreadable - fix this
154-
- name: Make StackHPC Cloud host test results readable
153+
# Host test results will be owned by root - we need to read and delete them
154+
- name: Change permissions on SCT host test results
155155
ansible.builtin.command:
156-
cmd: chmod 644 {{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
156+
cmd: chmod 666 {{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
157157
become: true
158158

159159
always:

0 commit comments

Comments
 (0)