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 ac5c3d5 commit 5bb7fe6Copy full SHA for 5bb7fe6
ci/report_result.yml
@@ -5,7 +5,17 @@
5
vars_files:
6
- vars/common.yml
7
tasks:
8
+ - name: Check whether the log dir exists
9
+ ansible.builtin.stat:
10
+ path: "{{ logs_dir }}"
11
+ register: stat_out
12
+
13
+ - name: show whetehr the log dir exists
14
+ ansible.builtin.debug:
15
+ var: stat_out
16
17
- name: Create log dir
18
+ when: not stat_out.stat.exists
19
ansible.builtin.file:
20
path: "{{ logs_dir }}"
21
state: directory
0 commit comments