This Ansible Galaxy Role Removes CloudNativePG Sandbox.
The ansible playbook must be executed under an account that has full privileges.
The only dependencies required for this ansible galaxy role are:
- AWS EKS CLI, Azure CLI, or Google Cloud CLI - Depends directly on the target cloud
- Kubectl
- Ansible
- Python packages: openshift, pyyaml, kubernetes, pyhelm
Installed with commands:
pip install openshift pyyaml kubernetes
pip install pyhelm
kubernetes.core.helm_repository
- Ansible Module - Required for Helm.community.kubernetes.helm
- Ansible Module - Required for Helm.kubernetes.core.k8s
- Ansible Module - Required for Kubernetes.
There are no required variables:
The remove_cloudnativepg_sandbox
role does not have any dependencies on any other roles.
Below is an example of how to include the remove_cloudnativepg_sandbox
role:
---
- hosts: localhost
name: Remove CloudNativePG-Sandbox Playbook
gather_facts: yes
roles:
- remove_cloudnativepg_sandbox
Copy the remove_cloudnativepg_sandbox.yml
playbook located in the playbook-examples/cnp
directory into the root of the edb-ansible
directory.
Copy the remove_cloudnativepg_sandbox.yml
playbook located in the playbook-examples/cnp
directory into the root of the edb-ansible
directory.
# To Remove CloudNativePG Sandbox from Kubernetes Cluster
$ ansible-playbook remove_cloudnativepg_sandbox.yml
BSD
Author:
- Doug Ortiz
- DevOps
- edb-devops@enterprisedb www.enterprisedb.com