You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
684 B

9 years ago
  1. ---
  2. - name: install | Set SSL CA directories
  3. set_fact:
  4. ssl_ca_dirs: "[
  5. {% if ansible_os_family in ['CoreOS', 'Container Linux by CoreOS'] -%}
  6. '/usr/share/ca-certificates',
  7. {% elif ansible_os_family == 'RedHat' -%}
  8. '/etc/pki/tls',
  9. '/etc/pki/ca-trust',
  10. {% elif ansible_os_family == 'Debian' -%}
  11. '/usr/share/ca-certificates',
  12. {% endif -%}
  13. ]"
  14. tags: facts
  15. - include: "install_{{ kubelet_deployment_type }}.yml"
  16. - name: install | Write kubelet systemd init file
  17. template:
  18. src: "kubelet.{{ kubelet_deployment_type }}.service.j2"
  19. dest: "/etc/systemd/system/kubelet.service"
  20. backup: "yes"
  21. notify: restart kubelet