summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/ca.yml
blob: 77e7b0ed0ff7e1d510b461cf1e49d7637c90e28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: Generate new etcd CA
  hosts: oo_first_etcd
  roles:
  - role: openshift_clock
  - role: openshift_etcd_facts
  tasks:
  - import_role:
      name: etcd
      tasks_from: ca.yml
    vars:
      etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
      etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"
    when:
    - etcd_ca_setup | default(True) | bool