|
@@ -92,25 +92,3 @@
|
|
|
state: started
|
|
|
enabled: yes
|
|
|
with_items: "{{ master_services }}"
|
|
|
-
|
|
|
-# Until openshift-ansible is determining which host is the CA host we
|
|
|
-# must (unfortunately) ensure that the first host in the etcd group is
|
|
|
-# the etcd CA host.
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=1469358
|
|
|
-- name: Verify we can proceed on first etcd
|
|
|
- hosts: oo_first_etcd
|
|
|
- gather_facts: no
|
|
|
- tasks:
|
|
|
- - name: Ensure CA exists on first etcd
|
|
|
- stat:
|
|
|
- path: /etc/etcd/generated_certs
|
|
|
- register: __etcd_ca_stat
|
|
|
-
|
|
|
- - fail:
|
|
|
- msg: >
|
|
|
- In order to correct an etcd certificate signing problem
|
|
|
- upgrading may require re-generating etcd certificates. Please
|
|
|
- ensure that the /etc/etcd/generated_certs directory exists on
|
|
|
- the first host defined in your [etcd] group.
|
|
|
- when:
|
|
|
- - not __etcd_ca_stat.stat.exists | bool
|