summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-node/config.yml
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-02-17 10:07:09 -0700
committerJhon Honce <jhonce@redhat.com>2015-02-17 10:10:39 -0700
commit16ab19a24e6e2122f3f1b8f229b8bb20c88045cd (patch)
treefff3ddfa31401b932908b3f98aff77f811bf47f1 /playbooks/gce/openshift-node/config.yml
parent90010f6db6294a99c56194afd89a0359a3d278dc (diff)
downloadopenshift-16ab19a24e6e2122f3f1b8f229b8bb20c88045cd.tar.gz
openshift-16ab19a24e6e2122f3f1b8f229b8bb20c88045cd.tar.bz2
openshift-16ab19a24e6e2122f3f1b8f229b8bb20c88045cd.tar.xz
openshift-16ab19a24e6e2122f3f1b8f229b8bb20c88045cd.zip
* Use hostname module
* Use mktemp for scratch directory
Diffstat (limited to 'playbooks/gce/openshift-node/config.yml')
-rw-r--r--playbooks/gce/openshift-node/config.yml7
1 files changed, 1 insertions, 6 deletions
diff --git a/playbooks/gce/openshift-node/config.yml b/playbooks/gce/openshift-node/config.yml
index 10016463b..c9cacbc63 100644
--- a/playbooks/gce/openshift-node/config.yml
+++ b/playbooks/gce/openshift-node/config.yml
@@ -34,10 +34,6 @@
hosts: oo_hosts_to_config
connection: ssh
user: root
-
- vars:
- tmp_dir: "/tmp/openshift-{{ 9999 | random }}"
-
vars_files:
- vars.yml
roles:
@@ -49,6 +45,5 @@
oo_master_ips: "{{ hostvars['localhost'].oo_master_ips | default(['']) }}",
oo_master_public_ips: "{{ hostvars['localhost'].oo_master_public_ips | default(['']) }}",
oo_bind_ip: "{{ hostvars[inventory_hostname].ansible_eth0.ipv4.address | default(['']) }}",
- oo_public_ip: "{{ hostvars[inventory_hostname].ansible_ssh_host }}",
- tmp_dir: "{{ tmp_dir }}"
+ oo_public_ip: "{{ hostvars[inventory_hostname].ansible_ssh_host }}"
}