summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/server_certificates.yml
blob: 695b53990a615bd29bd67246dc84b3c4ce528ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Create etcd server certificates for etcd hosts
  hosts: oo_etcd_to_config
  any_errors_fatal: true
  roles:
    - role: openshift_etcd_facts
  post_tasks:
    - include_role:
        name: etcd
        tasks_from: server_certificates.yml
      vars:
        etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}"
        etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}"
        etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}"