summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-16 15:12:10 -0400
committerJhon Honce <jhonce@redhat.com>2015-03-24 11:19:05 -0700
commit12745f3eb1f4eb99a27f03d6b7a60cd376add580 (patch)
tree20662c1e3d9540c377388481767bd2b128021f68
parent3324b6c8889074ee17d7be05588de8b58aa3774f (diff)
downloadopenshift-12745f3eb1f4eb99a27f03d6b7a60cd376add580.tar.gz
openshift-12745f3eb1f4eb99a27f03d6b7a60cd376add580.tar.bz2
openshift-12745f3eb1f4eb99a27f03d6b7a60cd376add580.tar.xz
openshift-12745f3eb1f4eb99a27f03d6b7a60cd376add580.zip
Use env for gce params
-rw-r--r--playbooks/gce/openshift-cluster/terminate.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/playbooks/gce/openshift-cluster/terminate.yml b/playbooks/gce/openshift-cluster/terminate.yml
index eff52a807..ee536be69 100644
--- a/playbooks/gce/openshift-cluster/terminate.yml
+++ b/playbooks/gce/openshift-cluster/terminate.yml
@@ -13,13 +13,13 @@
- include: ../openshift-node/terminate.yml
vars:
oo_host_group_exp: 'groups["tag_env-host-type-{{ cluster_id }}-openshift-node"]'
- gce_service_account_email: "1043659492591-r0tpbf8q4fbb9dakhjfhj89e4m1ld83t@developer.gserviceaccount.com"
- gce_pem_file: "~/.gce/openshift-gce-devel_priv_key.pem"
- gce_project_id: "openshift-gce-devel"
+ gce_service_account_email: "{{ lookup('env', 'gce_service_account_email_address') }}"
+ gce_pem_file: "{{ lookup('env', 'gce_service_account_pem_file_path') }}"
+ gce_project_id: "{{ lookup('env', 'gce_project_id') }}"
- include: ../openshift-master/terminate.yml
vars:
oo_host_group_exp: 'groups["tag_env-host-type-{{ cluster_id }}-openshift-master"]'
- gce_service_account_email: "1043659492591-r0tpbf8q4fbb9dakhjfhj89e4m1ld83t@developer.gserviceaccount.com"
- gce_pem_file: "~/.gce/openshift-gce-devel_priv_key.pem"
- gce_project_id: "openshift-gce-devel"
+ gce_service_account_email: "{{ lookup('env', 'gce_service_account_email_address') }}"
+ gce_pem_file: "{{ lookup('env', 'gce_service_account_pem_file_path') }}"
+ gce_project_id: "{{ lookup('env', 'gce_project_id') }}"