gather_debug.yml 465 B

123456789101112131415161718192021
  1. ---
  2. - name: Gather Debug - Get service status
  3. command: >
  4. systemctl status {{ item }}
  5. changed_when: false
  6. ignore_errors: true
  7. register: systemctl_status
  8. loop:
  9. - cri-o
  10. - kubelet
  11. - name: Gather Debug - Get complete node objects
  12. command: >
  13. oc get node {{ ansible_nodename | lower }}
  14. --kubeconfig={{ openshift_node_kubeconfig_path }}
  15. --output=json
  16. delegate_to: localhost
  17. changed_when: false
  18. ignore_errors: true
  19. register: oc_get