summaryrefslogtreecommitdiffstats
path: root/tools/k8s/cluster-deployment/k8scluster/roles/clustermanager/tasks/clear-sriov.yml
blob: 6d725ce8b6d25d01ef8750bbe9a0a77eef94896a (plain)
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
---

- name: Delete SRIOV CNI Daemonset
  k8s:
    state: absent
    apply: yes
    definition: "{{ lookup('file', 'sriov-cni-daemonset.yaml') }}"

- name: Delete SRIOV Device Plugin
  k8s:
    state: absent
    apply: yes
    definition: "{{ lookup('file', 'sriov-device-plugin-daemonset.yaml') }}"

- name: Deploy SRIOV Device Plugin Config
  k8s:
    state: absent
    apply: yes
    definition: "{{ lookup('file', 'configMap-sriov-device-plugin.yaml') }}"