This Ansible Galaxy Role Removes CloudNative Postgres 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_cloudnativepostgres_sandbox
role does not have any dependencies on any other roles.
Below is an example of how to include the remove_cloudnativepostgres_sandbox
role:
---
- hosts: localhost
name: Remove CloudNative Postgres-Sandbox Playbook
gather_facts: yes
roles:
- remove_cloudnativepostgres_sandbox
Copy the remove_cloudnativepostgres_sandbox.yml
playbook located in the playbook-examples/cnp
directory into the root of the edb-ansible
directory.
# To Remove CloudNative Postres Sandbox from Kubernetes Cluster
$ ansible-playbook remove_cloudnativepostgres_sandbox.yml
BSD
Author:
- Doug Ortiz
- DevOps
- edb-devops@enterprisedb www.enterprisedb.com