upgrade.yaml 407 B

12345678910111213
  1. ---
  2. - name: Check if node problem detector daemonset exists
  3. oc_obj:
  4. state: list
  5. kind: daemonset
  6. name: "{{ openshift_node_problem_detector_daemonset_name }}"
  7. namespace: "{{ openshift_node_problem_detector_daemonset_name }}"
  8. register: npd_daemonset
  9. - name: Upgrade node problem detector daemonset
  10. include_tasks: install_daemonset.yaml
  11. when:
  12. - npd_daemonset.results.results[0] != {}