Add etcd TLS support

This commit is contained in:
Matthew Mosesohn
2016-11-09 13:44:41 +03:00
parent 95b460ae94
commit a32cd85eb7
25 changed files with 408 additions and 35 deletions

View File

@@ -11,7 +11,7 @@
when: ansible_service_mgr == "systemd"
- name: wait for etcd up
uri: url="http://{% if is_etcd_master %}{{ etcd_address }}{% else %}127.0.0.1{% endif %}:2379/health"
uri: url="https://{% if is_etcd_master %}{{ etcd_address }}{% else %}127.0.0.1{% endif %}:2379/health" validate_certs=no
register: result
until: result.status is defined and result.status == 200
retries: 10
@@ -22,3 +22,8 @@
name: etcd
state: restarted
when: is_etcd_master
- name: set etcd_secret_changed
set_fact:
etcd_secret_changed: true