main.yml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ---
  2. openshift_node_active_nodes: []
  3. openshift_node_machineconfigpool: 'worker'
  4. openshift_node_tls_verify: false
  5. openshift_node_kubeconfig_path: "{{ openshift_kubeconfig_path | default('~/.kube/config') | expanduser | realpath }}"
  6. openshift_node_kubeconfig: "{{ lookup('file', openshift_node_kubeconfig_path) | from_yaml }}"
  7. openshift_node_bootstrap_port: 22623
  8. openshift_node_bootstrap_server: "{{ openshift_node_kubeconfig.clusters.0.cluster.server.split(':')[0:-1] | join(':') | regex_replace('://api', '://api-int') }}:{{ openshift_node_bootstrap_port }}"
  9. openshift_node_bootstrap_endpoint: "{{ openshift_node_bootstrap_server }}/config/{{ openshift_node_machineconfigpool }}"
  10. openshift_node_packages:
  11. - cri-o-{{ l_kubernetes_version }}.*
  12. - openshift-clients-{{ l_cluster_version }}.*
  13. - openshift-hyperkube-{{ l_cluster_version }}.*
  14. - podman
  15. openshift_node_support_packages: "{{ openshift_node_support_packages_base + openshift_node_support_packages_by_arch[ansible_architecture] }}"
  16. openshift_node_support_packages_base:
  17. # Packages from redhat-coreos.git manifest-base.yaml
  18. - kernel
  19. - systemd
  20. #- systemd-journal-gateway
  21. #- rpm-ostree
  22. #- nss-altfiles
  23. - selinux-policy-targeted
  24. - setools-console
  25. #- ignition
  26. #- ignition-dracut
  27. - dracut-network
  28. - passwd
  29. #- grub2
  30. #- grub2-efi
  31. #- ostree-grub2
  32. #- efibootmgr
  33. #- shim
  34. - openssh-server
  35. - openssh-clients
  36. - skopeo
  37. - runc
  38. - containernetworking-plugins
  39. #- cri-o
  40. - cri-tools
  41. #- toolbox
  42. - nfs-utils
  43. - NetworkManager
  44. - dnsmasq
  45. - lvm2
  46. - iscsi-initiator-utils
  47. - sg3_utils
  48. - device-mapper-multipath
  49. - xfsprogs
  50. - e2fsprogs
  51. - mdadm
  52. - cryptsetup
  53. - chrony
  54. #- coreos-metadata
  55. - logrotate
  56. - sssd
  57. - shadow-utils
  58. - sudo
  59. - coreutils
  60. - less
  61. - tar
  62. - xz
  63. - gzip
  64. - bzip2
  65. - rsync
  66. - tmux
  67. - nmap-ncat
  68. - net-tools
  69. - bind-utils
  70. - strace
  71. - bash-completion
  72. - vim-minimal
  73. - nano
  74. #- openshift-hyperkube
  75. #- openshift-clients
  76. #- pivot
  77. #- subscription-manager-rhsm-certificates
  78. #
  79. # Packages from redhat-coreos.git maipo/manifest.yaml
  80. #- redhat-release-coreos
  81. - authconfig
  82. - policycoreutils-python
  83. - iptables-services
  84. - bridge-utils
  85. - container-storage-setup
  86. #- cloud-utils-growpart
  87. - ceph-common
  88. openshift_node_support_packages_by_arch:
  89. ppc64le:
  90. - irqbalance
  91. s390x:
  92. - s390utils-base
  93. x86_64:
  94. - microcode_ctl
  95. - irqbalance
  96. - biosdevname
  97. # GlusterFS
  98. # Temporaly only for x86_64 as were not shipping it for other arches atm
  99. # Tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1715175
  100. - glusterfs-fuse