Browse Source

Merge "Remove /hosts from log outputs"

Zuul 1 month ago
parent
commit
6298cbd1d3
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      playbooks/zuul/run-base-post.yaml

+ 3
- 3
playbooks/zuul/run-base-post.yaml View File

@@ -2,7 +2,7 @@
2 2
   tasks:
3 3
     - name: Make log directories for testing hosts
4 4
       file:
5
-        path: "{{ zuul.executor.log_root }}/hosts/{{ item }}/logs"
5
+        path: "{{ zuul.executor.log_root }}/{{ item }}/logs"
6 6
         state: directory
7 7
         recurse: true
8 8
       loop: "{{ query('inventory_hostnames', 'all') }}"
@@ -12,7 +12,7 @@
12 12
         path: "{{ item }}"
13 13
         state: directory
14 14
       with_items:
15
-        - "{{ zuul.executor.log_root }}/hosts/bridge.openstack.org/ara-report"
15
+        - "{{ zuul.executor.log_root }}/bridge.openstack.org/ara-report"
16 16
 
17 17
 - hosts: all
18 18
   tasks:
@@ -49,7 +49,7 @@
49 49
   tasks:
50 50
     - name: Set log directory
51 51
       set_fact:
52
-        log_dir: "{{ zuul.executor.log_root }}/hosts/{{ inventory_hostname }}"
52
+        log_dir: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
53 53
 
54 54
       # Because during the test we run ansible as root, we need
55 55
       # to allow ourselves permissions to copy the results

Loading…
Cancel
Save