summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common/defaults
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-08-23 10:58:41 -0400
committerGitHub <noreply@github.com>2017-08-23 10:58:41 -0400
commit2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc (patch)
tree87d851eb9768398d9e02742a054145ce60a88067 /roles/etcd_common/defaults
parent099835cfd928e0bccf8c298d197ca06960bf954a (diff)
parent4b5d8d2dc25dbca20be59f3d5d111d737fd865bc (diff)
downloadopenshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.tar.gz
openshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.tar.bz2
openshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.tar.xz
openshift-2a4f95429df8f6c7c4d3ca35ccca5e27fbf372fc.zip
Merge pull request #4980 from sdodson/migrate-v2
Switch to migrating one host and scaling etcd members back up
Diffstat (limited to 'roles/etcd_common/defaults')
-rw-r--r--roles/etcd_common/defaults/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/etcd_common/defaults/main.yml b/roles/etcd_common/defaults/main.yml
index b1bfa4592..89993f7ea 100644
--- a/roles/etcd_common/defaults/main.yml
+++ b/roles/etcd_common/defaults/main.yml
@@ -63,3 +63,13 @@ etcd_client_port: 2379
etcd_peer_port: 2380
etcd_url_scheme: http
etcd_peer_url_scheme: http
+
+etcd_initial_cluster_state: new
+etcd_initial_cluster_token: etcd-cluster-1
+
+etcd_initial_advertise_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"
+etcd_listen_peer_urls: "{{ etcd_peer_url_scheme }}://{{ etcd_ip }}:{{ etcd_peer_port }}"
+etcd_advertise_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
+etcd_listen_client_urls: "{{ etcd_url_scheme }}://{{ etcd_ip }}:{{ etcd_client_port }}"
+
+etcd_systemd_dir: "/etc/systemd/system/{{ etcd_service }}.service.d"