summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-05-06 17:07:45 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-05-06 17:07:45 -0400
commitc9eac969338069062f632a4e5dc6becb6b2ac5b1 (patch)
treeace68537389735718375aba1cc9ea2c80f88cffc /playbooks
parente0b2d98a6cac21cfa555afe4d660cb62c1180856 (diff)
parent1c42ff73d416e9f48ca37593e814faaff7e0f338 (diff)
downloadopenshift-c9eac969338069062f632a4e5dc6becb6b2ac5b1.tar.gz
openshift-c9eac969338069062f632a4e5dc6becb6b2ac5b1.tar.bz2
openshift-c9eac969338069062f632a4e5dc6becb6b2ac5b1.tar.xz
openshift-c9eac969338069062f632a4e5dc6becb6b2ac5b1.zip
Merge pull request #199 from detiber/factFixing
fix bugs with openshift_facts
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-node/config.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/playbooks/common/openshift-node/config.yml b/playbooks/common/openshift-node/config.yml
index 433cfeb87..96641a274 100644
--- a/playbooks/common/openshift-node/config.yml
+++ b/playbooks/common/openshift-node/config.yml
@@ -15,6 +15,7 @@
local_facts:
hostname: "{{ openshift_hostname | default(None) }}"
public_hostname: "{{ openshift_public_hostname | default(None) }}"
+ deployment_type: "{{ openshift_deployment_type }}"
- role: node
local_facts:
external_id: "{{ openshift_node_external_id | default(None) }}"
@@ -23,7 +24,6 @@
pod_cidr: "{{ openshift_node_pod_cidr | default(None) }}"
labels: "{{ openshift_node_labels | default(None) }}"
annotations: "{{ openshift_node_annotations | default(None) }}"
- deployment_type: "{{ openshift_deployment_type }}"
- name: Create temp directory for syncing certs
@@ -68,7 +68,6 @@
fetch:
src: "{{ sync_tmpdir }}/{{ item.openshift.common.hostname }}.tgz"
dest: "{{ sync_tmpdir }}/"
- flat: yes
fail_on_missing: yes
validate_checksum: yes
with_items: openshift_nodes
@@ -79,7 +78,7 @@
hosts: oo_nodes_to_config
gather_facts: no
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"
pre_tasks:
- name: Ensure certificate directory exists