diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-07-10 13:50:03 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-07-10 13:57:49 -0400 |
commit | f08e64ac98a62863dfd7b7802338a0a7f4770188 (patch) | |
tree | fa1fa44272de608a55d9c02031981336683cfaf3 /playbooks/gce/openshift-master/terminate.yml | |
parent | 85966c8d520fbd166e651a2850e701e6339f5835 (diff) | |
download | openshift-f08e64ac98a62863dfd7b7802338a0a7f4770188.tar.gz openshift-f08e64ac98a62863dfd7b7802338a0a7f4770188.tar.bz2 openshift-f08e64ac98a62863dfd7b7802338a0a7f4770188.tar.xz openshift-f08e64ac98a62863dfd7b7802338a0a7f4770188.zip |
Remove outdated playbooks
- Remove aws openshift-node and openshift-master playbooks
- Rmove gce openshift-node and openshift-master playbooks
- Consolidate aws terminate playbooks
Diffstat (limited to 'playbooks/gce/openshift-master/terminate.yml')
-rw-r--r-- | playbooks/gce/openshift-master/terminate.yml | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/playbooks/gce/openshift-master/terminate.yml b/playbooks/gce/openshift-master/terminate.yml deleted file mode 100644 index 452ac5199..000000000 --- a/playbooks/gce/openshift-master/terminate.yml +++ /dev/null @@ -1,35 +0,0 @@ ---- -- name: Populate oo_masters_to_terminate host group if needed - hosts: localhost - gather_facts: no - tasks: - - name: Evaluate oo_masters_to_terminate - add_host: name={{ item }} groups=oo_masters_to_terminate - with_items: oo_host_group_exp | default([]) - -- name: Terminate master instances - hosts: localhost - connection: local - gather_facts: no - tasks: - - name: Terminate master instances - gce: - service_account_email: "{{ gce_service_account_email }}" - pem_file: "{{ gce_pem_file }}" - project_id: "{{ gce_project_id }}" - state: 'absent' - instance_names: "{{ groups['oo_masters_to_terminate'] }}" - disks: "{{ groups['oo_masters_to_terminate'] }}" - register: gce - when: "'oo_masters_to_terminate' in groups" - - - name: Remove disks of instances - gce_pd: - service_account_email: "{{ gce_service_account_email }}" - pem_file: "{{ gce_pem_file }}" - project_id: "{{ gce_project_id }}" - name: "{{ item }}" - zone: "{{ gce.zone }}" - state: absent - with_items: gce.instance_names - when: "'oo_masters_to_terminate' in groups" |