summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-master/private/certificates.yml
blob: d42d4402b0b16f617eccbf669f1802a807de8eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: Create OpenShift certificates for master hosts
  hosts: oo_masters_to_config
  vars:
    openshift_ca_host: "{{ groups.oo_first_master.0 }}"
  roles:
  - role: openshift_master_facts
  - role: openshift_named_certificates
  - role: openshift_ca
  - role: openshift_master_certificates
    openshift_master_etcd_hosts: "{{ hostvars
                                     | lib_utils_oo_select_keys(groups['oo_etcd_to_config'] | default([]))
                                     | lib_utils_oo_collect('openshift.common.hostname')
                                     | default(none, true) }}"