---
  - hosts: master[0]
    any_errors_fatal: true
    name: "Delete Kubernetes Persistent Volume"
    become: yes
    vars_files:
      - group_vars/all.yaml

    tasks:
      - name: delete Kubernetes PV
        command: kubectl --kubeconfig {{ kubernetes_kubeconfig.kubectl }} --ignore-not-found delete pv {{ volume_name }}
---
  - hosts: master[0]
    any_errors_fatal: true
    name: "Delete Kubernetes Persistent Volume"
    become: yes
    vars_files:
      - group_vars/all.yaml

    tasks:
      - name: delete Kubernetes PV
        command: kubectl --kubeconfig {{ kubernetes_kubeconfig.kubectl }} --ignore-not-found=true delete pv {{ volume_name }}
Fix kismatic volume delete command
Fix kismatic volume delete command
