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.

23 lines
650 B

  1. ---
  2. - name: Set facts variables
  3. tags:
  4. - always
  5. block:
  6. - name: Set fallback_ips
  7. import_tasks: fallback_ips.yml
  8. when: fallback_ips is not defined
  9. - name: Set no_proxy
  10. import_tasks: no_proxy.yml
  11. when:
  12. - http_proxy is defined or https_proxy is defined
  13. - no_proxy is not defined
  14. # TODO: Clean this task up when we drop backward compatibility support for `etcd_kubeadm_enabled`
  15. - name: Set `etcd_deployment_type` to "kubeadm" if `etcd_kubeadm_enabled` is true
  16. set_fact:
  17. etcd_deployment_type: kubeadm
  18. when:
  19. - etcd_kubeadm_enabled is defined and etcd_kubeadm_enabled
  20. tags:
  21. - always