-
Notifications
You must be signed in to change notification settings - Fork 0
/
uninstall_okd.yml
35 lines (33 loc) · 1.3 KB
/
uninstall_okd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
- name: This playbook uninstall OKD 4 on a local server
hosts: localhost
tasks:
- name: Delete virbr2 vlan network
include: delete_virbr2_vlan_network.yml
- name: Remove fix bridge permissions for user
include: remove_fix_bridge_permissions_for_user.yml
- name: Delete dns virtual machine
include: delete_dns_vm.yml
- name: Delete container registry virtual machine
include: delete_container_registry_vm.yml
- name: Delete virbr1 vlan network
include: delete_virbr1_vlan_network.yml
- name: Delete load balancer virtual machine
include: delete_load_balancer_vm.yml
- name: Uninstall prerequisite okd infrastructure
include: uninstall_prerequisite_okd_infrastructure.yml
- name: Delete bootstrap okd virtual machine
include: delete_bootstrap_okd_vm.yml
- name: Delete control planes virtual machine
include: delete_control_plane_okd_vm.yml
with_items:
- {index: 0, ip: '10.0.5.59'}
- {index: 1, ip: '10.0.5.60'}
- {index: 2, ip: '10.0.5.61'}
- name: Delete workers virtual machines
include: delete_worker_okd_vm.yml
with_items:
- {index: 0, ip: '10.0.5.62'}
- {index: 1, ip: '10.0.5.63'}
- {index: 2, ip: '10.0.5.64'}
#- import_playbook: delete_worker_0_okd_vm.yml