summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-etcd/private/server_certificates.yml
blob: ebcf4a5fff76fa546f12daab50c5a83dc2a0898a (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:
    - import_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) }}"