configure_external_etcd.yml 522 B

1234567891011121314151617
  1. ---
  2. - name: Remove etcdConfig section
  3. yedit:
  4. src: /etc/origin/master/master-config.yaml
  5. key: "etcdConfig"
  6. state: absent
  7. - name: Set etcdClientInfo.ca to master.etcd-ca.crt
  8. yedit:
  9. src: /etc/origin/master/master-config.yaml
  10. key: etcdClientInfo.ca
  11. value: master.etcd-ca.crt
  12. - name: Set etcdClientInfo.urls to the external etcd
  13. yedit:
  14. src: /etc/origin/master/master-config.yaml
  15. key: etcdClientInfo.urls
  16. value:
  17. - "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"