main.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ---
  2. # determine if yum install of node pkgs will work
  3. - when: not openshift.common.is_containerized | bool
  4. block:
  5. - name: main node packages availability
  6. check_yum_update:
  7. packages:
  8. - "{{ openshift.common.service_type }}"
  9. - "{{ openshift.common.service_type }}-node"
  10. - "{{ openshift.common.service_type }}-sdn-ovs"
  11. register: r
  12. - set_fact:
  13. oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'main node packages availability'})] }}"
  14. - name: other node packages availability
  15. check_yum_update:
  16. packages:
  17. - docker
  18. - PyYAML
  19. - firewalld
  20. - iptables
  21. - iptables-services
  22. - nfs-utils
  23. - ntp
  24. - yum-utils
  25. - dnsmasq
  26. - libselinux-python
  27. - ceph-common
  28. - glusterfs-fuse
  29. - iscsi-initiator-utils
  30. - pyparted
  31. - python-httplib2
  32. - openssl
  33. - flannel
  34. - bind
  35. register: r
  36. - set_fact:
  37. oo_preflight_check_results: "{{ oo_preflight_check_results + [r|combine({'_task': 'other node packages availability'})] }}"