Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions roles/os_must_gather/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
path: "{{ cifmw_openshift_kubeconfig | default(cifmw_os_must_gather_kubeconfig) }}"
register: _kubeconfig_stat

- name: Accept certificates before must gather
ansible.builtin.shell: |
oc adm certificate approve $(oc get csr --no-headers | awk '/Pending/ {print $1}')

- name: Sleep a while
ansible.builtin.pause:
seconds: 30

- name: Running openstack-must-gather tool
when:
- oc_installed is defined
Expand Down
Loading