update-vsphere.yml 664 B

1234567891011121314151617181920
  1. ---
  2. - name: modify controller args
  3. yedit:
  4. src: /etc/origin/master/master-config.yaml
  5. edits:
  6. - key: kubernetesMasterConfig.controllerArguments.cloud-config
  7. value:
  8. - "{{ openshift.common.config_base }}/cloudprovider/vsphere.conf"
  9. - key: kubernetesMasterConfig.controllerArguments.cloud-provider
  10. value:
  11. - vsphere
  12. - key: kubernetesMasterConfig.apiServerArguments.cloud-config
  13. value:
  14. - "{{ openshift.common.config_base }}/cloudprovider/vsphere.conf"
  15. - key: kubernetesMasterConfig.apiServerArguments.cloud-provider
  16. value:
  17. - vsphere
  18. notify:
  19. - restart master controllers
  20. - restart master api