diff options
author | Jhon Honce <jhonce@redhat.com> | 2015-03-24 14:16:31 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-03-24 14:16:31 -0700 |
commit | f2f0167b605b541ad74d0aef0392609772692f0d (patch) | |
tree | 8f377eaba382dc1515a050068e5c3fa83c5106ea /playbooks/gce/openshift-cluster/terminate.yml | |
parent | 43ed89371aa2fce56d5e2b41af35a3ae902e92e6 (diff) | |
parent | 4dc8ca74f47bcbe0fd6285b0d73cc5b193be17a9 (diff) | |
download | openshift-f2f0167b605b541ad74d0aef0392609772692f0d.tar.gz openshift-f2f0167b605b541ad74d0aef0392609772692f0d.tar.bz2 openshift-f2f0167b605b541ad74d0aef0392609772692f0d.tar.xz openshift-f2f0167b605b541ad74d0aef0392609772692f0d.zip |
Merge pull request #97 from jwhonce/wip/cluster
Use ansible playbook to initialize openshift cluster
Diffstat (limited to 'playbooks/gce/openshift-cluster/terminate.yml')
-rw-r--r-- | playbooks/gce/openshift-cluster/terminate.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/playbooks/gce/openshift-cluster/terminate.yml b/playbooks/gce/openshift-cluster/terminate.yml new file mode 100644 index 000000000..0281ae953 --- /dev/null +++ b/playbooks/gce/openshift-cluster/terminate.yml @@ -0,0 +1,20 @@ +--- +- name: Terminate instance(s) + hosts: localhost + + vars_files: + - vars.yml + +- include: ../openshift-node/terminate.yml + vars: + oo_host_group_exp: 'groups["tag_env-host-type-{{ cluster_id }}-openshift-node"]' + 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: "{{ 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') }}" |