Skip to content

Commit 2e645a0

Browse files
committed
Allow skiping edpm log gathering
Add a var to allow skipping compute/edpm logs which might be too big in certain cases and cause failures with zuul
1 parent 80cfa59 commit 2e645a0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

roles/artifacts/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ None - writes happen only in the user home.
1212
* `cifmw_artifacts_crc_sshkey`: (String) Path to the private SSH key to connect to CRC. Defaults to `~/.crc/machines/crc/id_ecdsa`.
1313
* `cifmw_artifacts_crc_sshkey_ed25519`: (String) Path to the private SSH key to connect to CRC (newer CRC images). Defaults to `~/.crc/machines/crc/id_ed25519`.
1414
* `cifmw_artifacts_gather_logs`: (Boolean) Enables must-gather logs fetching. Defaults to `true`
15+
* `cifmw_artifacts_gather_edpm_logs`: (Boolean) Enables edpm logs fetching. Defaults to `true`
1516

1617
## Examples
1718
Usually we'll import the role as-is at the very start of the playbook, and

roles/artifacts/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
ansible.builtin.import_tasks: crc.yml
7373

7474
- name: Get EDPM logs
75+
when:
76+
- cifmw_artifacts_gather_edpm_logs | default(true) | bool
7577
ignore_errors: true # noqa: ignore-errors
7678
ansible.builtin.import_tasks: edpm.yml
7779

0 commit comments

Comments
 (0)