summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster/terminate.yml
blob: 39607633a8a4fcacb509e2a9327743e2a2820299 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- 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"]'

- include: ../openshift-master/terminate.yml
  vars:
    oo_host_group_exp: 'groups["tag_env-host-type_{{ cluster_id }}-openshift-master"]'