summaryrefslogtreecommitdiffstats
path: root/playbooks/gce
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-03-23 09:15:08 -0700
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:26:30 -0700
commit557cc0ca9ecc22a9d90f9cf9ce549186fe286492 (patch)
tree01cbd6a151e81400ba972fe7b593625007762fae /playbooks/gce
parent8b68846806d5294b5f43d14772d59aa2b8cf5e73 (diff)
downloadopenshift-557cc0ca9ecc22a9d90f9cf9ce549186fe286492.tar.gz
openshift-557cc0ca9ecc22a9d90f9cf9ce549186fe286492.tar.bz2
openshift-557cc0ca9ecc22a9d90f9cf9ce549186fe286492.tar.xz
openshift-557cc0ca9ecc22a9d90f9cf9ce549186fe286492.zip
* Updates from code reviews
Diffstat (limited to 'playbooks/gce')
-rw-r--r--playbooks/gce/openshift-cluster/launch_instances.yml2
-rw-r--r--playbooks/gce/openshift-master/terminate.yml1
-rw-r--r--playbooks/gce/openshift-node/terminate.yml1
3 files changed, 3 insertions, 1 deletions
diff --git a/playbooks/gce/openshift-cluster/launch_instances.yml b/playbooks/gce/openshift-cluster/launch_instances.yml
index 443e763de..20e31d990 100644
--- a/playbooks/gce/openshift-cluster/launch_instances.yml
+++ b/playbooks/gce/openshift-cluster/launch_instances.yml
@@ -12,7 +12,7 @@
pem_file: "{{ lookup('env', 'gce_service_account_pem_file_path') }}"
project_id: "{{ lookup('env', 'gce_project_id') }}"
tags:
- - "created-by-{{ cluster }}"
+ - "created-by-{{ lookup('env', 'LOGNAME') |default(cluster, true) }}"
- "env-{{ cluster }}"
- "host-type-{{ type }}"
- "env-host-type-{{ cluster }}-openshift-{{ type }}"
diff --git a/playbooks/gce/openshift-master/terminate.yml b/playbooks/gce/openshift-master/terminate.yml
index f1345874a..9e027cf41 100644
--- a/playbooks/gce/openshift-master/terminate.yml
+++ b/playbooks/gce/openshift-master/terminate.yml
@@ -15,6 +15,7 @@
- name: Terminate master instances
hosts: localhost
connection: local
+ gather_facts: no
tasks:
- name: Terminate master instances
gce:
diff --git a/playbooks/gce/openshift-node/terminate.yml b/playbooks/gce/openshift-node/terminate.yml
index d4555084b..9aa8a48c1 100644
--- a/playbooks/gce/openshift-node/terminate.yml
+++ b/playbooks/gce/openshift-node/terminate.yml
@@ -15,6 +15,7 @@
- name: Terminate node instances
hosts: localhost
connection: local
+ gather_facts: no
tasks:
- name: Terminate node instances
gce: