main.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright 2020 Dell Technologies
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. #- name: Firewall Rule K8s:6443/tcp
  16. #command: firewall-cmd --zone=internal --add-port=6443/tcp --permanent
  17. #tags: master
  18. #
  19. #- name: Firewall Rule K8s:10250/tcp
  20. #command: firewall-cmd --zone=internal --add-port=10250/tcp --permanent
  21. #tags: master
  22. ##
  23. #- name: Firewall Reload
  24. #command: firewall-cmd --reload
  25. #tags: master
  26. #
  27. - name: Create /root/bin (if it doesn't exist)
  28. file:
  29. path: /root/bin
  30. state: directory
  31. mode: 0755
  32. - name: Get Helm Installer
  33. get_url:
  34. url: https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
  35. dest: /root/bin/get_helm.sh
  36. mode: 700
  37. tags: master
  38. - name: Install Helm
  39. command: /root/bin/get_helm.sh
  40. tags: master
  41. # install and start up OpenSM - III