Skip to content

Commit 8fef503

Browse files
committed
Do not print some env_op_images and e2e-collect-logs tasks
The tasks gives a lot of output, where later you can find it in log file. Signed-off-by: Daniel Pawlik <[email protected]>
1 parent a44a124 commit 8fef503

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ci/playbooks/e2e-collect-logs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
chdir: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/ci-framework"
3535
environment:
3636
ANSIBLE_LOG_PATH: "{{ ansible_user_dir }}/ci-framework-data/logs/e2e-collect-logs-must-gather.log"
37+
no_log: "{{ cifmw_nolog | default(true) | bool }}"
3738

3839
- name: "Run ci/playbooks/collect-logs.yml on CRC host"
3940
hosts: crc

roles/env_op_images/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
--all-namespaces
5454
-o yaml
5555
register: _csvs_out
56+
no_log: "{{ cifmw_nolog | default(true) | bool }}"
5657

5758
- name: Get the images name
5859
ansible.builtin.shell: >
@@ -129,6 +130,7 @@
129130
loop: "{{ selected_pods }}"
130131
loop_control:
131132
label: "{{ item.metadata.name }}"
133+
no_log: "{{ cifmw_nolog | default(true) | bool }}"
132134

133135
- name: Write images to file
134136
vars:

0 commit comments

Comments
 (0)