summaryrefslogtreecommitdiffstats
path: root/playbooks/openshift-node/private/containerized_nodes.yml
blob: 644e6a69ce5e4f2c2ab2a40d17103779823e3729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: Configure containerized nodes
  hosts: oo_containerized_master_nodes
  serial: 1
  vars:
    openshift_node_master_api_url: "{{ hostvars[groups.oo_first_master.0].openshift.master.api_url }}"
    openshift_node_first_master_ip: "{{ hostvars[groups.oo_first_master.0].openshift.common.ip }}"
    openshift_no_proxy_internal_hostnames: "{{ hostvars | lib_utils_oo_select_keys(groups['oo_nodes_to_config']
                                                    | union(groups['oo_masters_to_config'])
                                                    | union(groups['oo_etcd_to_config'] | default([])))
                                                | lib_utils_oo_collect('openshift.common.hostname') | default([]) | join (',')
                                                }}"

  roles:
  - role: openshift_clock
  - role: openshift_cloud_provider
  - role: openshift_node
    openshift_ca_host: "{{ groups.oo_first_master.0 }}"
  - role: nickhammond.logrotate