summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-18 13:26:46 -0400
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:23:25 -0700
commit011ff923489fd1dd5fa072a685ce881ab69b8f1c (patch)
tree59ac98a9f7353289050e4f279b46babd21cb3487 /playbooks
parent9575258e5a1b8f9ee8ec7ffc7ad74fa5dfeabc00 (diff)
downloadopenshift-011ff923489fd1dd5fa072a685ce881ab69b8f1c.tar.gz
openshift-011ff923489fd1dd5fa072a685ce881ab69b8f1c.tar.bz2
openshift-011ff923489fd1dd5fa072a685ce881ab69b8f1c.tar.xz
openshift-011ff923489fd1dd5fa072a685ce881ab69b8f1c.zip
use more specific variable names in gce/openshift-cluster/launch.yml
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/gce/openshift-cluster/launch.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/playbooks/gce/openshift-cluster/launch.yml b/playbooks/gce/openshift-cluster/launch.yml
index 70025e103..b30452725 100644
--- a/playbooks/gce/openshift-cluster/launch.yml
+++ b/playbooks/gce/openshift-cluster/launch.yml
@@ -10,15 +10,15 @@
- name: Generate master instance names(s)
set_fact: scratch={{ cluster_id }}-{{ k8s_type }}-{{ '%05x' |format( 1048576 |random) }}
- register: instance_names_output
+ register: master_names_output
with_sequence: start=1 end={{ masters }}
# These set_fact's cannot be combined
- set_fact:
- instance_names_string: "{% for item in instance_names_output.results %}{{ item.ansible_facts.scratch }} {% endfor %}"
+ master_names_string: "{% for item in master_names_output.results %}{{ item.ansible_facts.scratch }} {% endfor %}"
- set_fact:
- master_names: "{{ instance_names_string.strip().split(' ') }}"
+ master_names: "{{ master_names_string.strip().split(' ') }}"
- include: launch_instances.yml
vars:
@@ -31,15 +31,15 @@
- name: Generate node instance names(s)
set_fact: scratch={{ cluster_id }}-{{ k8s_type }}-{{ '%05x' |format( 1048576 |random) }}
- register: instance_names_output
+ register: node_names_output
with_sequence: start=1 end={{ nodes }}
# These set_fact's cannot be combined
- set_fact:
- instance_names_string: "{% for item in instance_names_output.results %}{{ item.ansible_facts.scratch }} {% endfor %}"
+ node_names_string: "{% for item in node_names_output.results %}{{ item.ansible_facts.scratch }} {% endfor %}"
- set_fact:
- node_names: "{{ instance_names_string.strip().split(' ') }}"
+ node_names: "{{ node_names_string.strip().split(' ') }}"
- include: launch_instances.yml
vars: