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
568 B

  1. ---
  2. - name: Configure defaults
  3. debug:
  4. msg: "Check roles/kubespray-defaults/defaults/main.yml"
  5. tags:
  6. - always
  7. # do not run gather facts when bootstrap-os in roles
  8. - name: set fallback_ips
  9. import_tasks: fallback_ips.yml
  10. when:
  11. - "'bootstrap-os' not in ansible_play_role_names"
  12. - fallback_ips is not defined
  13. tags:
  14. - always
  15. - name: set no_proxy
  16. import_tasks: no_proxy.yml
  17. when:
  18. - "'bootstrap-os' not in ansible_play_role_names"
  19. - http_proxy is defined or https_proxy is defined
  20. - no_proxy is not defined
  21. tags:
  22. - always