|
@@ -15,6 +15,7 @@
|
|
local_facts:
|
|
local_facts:
|
|
hostname: "{{ openshift_hostname | default(None) }}"
|
|
hostname: "{{ openshift_hostname | default(None) }}"
|
|
public_hostname: "{{ openshift_public_hostname | default(None) }}"
|
|
public_hostname: "{{ openshift_public_hostname | default(None) }}"
|
|
|
|
+ deployment_type: "{{ openshift_deployment_type }}"
|
|
- role: node
|
|
- role: node
|
|
local_facts:
|
|
local_facts:
|
|
external_id: "{{ openshift_node_external_id | default(None) }}"
|
|
external_id: "{{ openshift_node_external_id | default(None) }}"
|
|
@@ -23,7 +24,6 @@
|
|
pod_cidr: "{{ openshift_node_pod_cidr | default(None) }}"
|
|
pod_cidr: "{{ openshift_node_pod_cidr | default(None) }}"
|
|
labels: "{{ openshift_node_labels | default(None) }}"
|
|
labels: "{{ openshift_node_labels | default(None) }}"
|
|
annotations: "{{ openshift_node_annotations | default(None) }}"
|
|
annotations: "{{ openshift_node_annotations | default(None) }}"
|
|
- deployment_type: "{{ openshift_deployment_type }}"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Create temp directory for syncing certs
|
|
- name: Create temp directory for syncing certs
|
|
@@ -68,7 +68,6 @@
|
|
fetch:
|
|
fetch:
|
|
src: "{{ sync_tmpdir }}/{{ item.openshift.common.hostname }}.tgz"
|
|
src: "{{ sync_tmpdir }}/{{ item.openshift.common.hostname }}.tgz"
|
|
dest: "{{ sync_tmpdir }}/"
|
|
dest: "{{ sync_tmpdir }}/"
|
|
- flat: yes
|
|
|
|
fail_on_missing: yes
|
|
fail_on_missing: yes
|
|
validate_checksum: yes
|
|
validate_checksum: yes
|
|
with_items: openshift_nodes
|
|
with_items: openshift_nodes
|
|
@@ -79,7 +78,7 @@
|
|
hosts: oo_nodes_to_config
|
|
hosts: oo_nodes_to_config
|
|
gather_facts: no
|
|
gather_facts: no
|
|
vars:
|
|
vars:
|
|
- sync_tmpdir: "{{ hostvars.localhost.mktemp.stdout }}"
|
|
|
|
|
|
+ sync_tmpdir: "{{ hostvars.localhost.mktemp.stdout }}/{{ groups['oo_first_master'][0] }}/{{ hostvars.localhost.mktemp.stdout }}"
|
|
openshift_sdn_master_url: "https://{{ hostvars[groups['oo_first_master'][0]].openshift.common.hostname }}:4001"
|
|
openshift_sdn_master_url: "https://{{ hostvars[groups['oo_first_master'][0]].openshift.common.hostname }}:4001"
|
|
pre_tasks:
|
|
pre_tasks:
|
|
- name: Ensure certificate directory exists
|
|
- name: Ensure certificate directory exists
|