Uninstalling Metrics Stack
Uninstalling the Metrics Stack
The following assumes the proper prerequisites are satisfied we can now deprovision the PostgreSQL Operator Metrics Infrastructure.
First, it is recommended to use the playbooks tagged with the same version of the Metrics stack currently deployed.
With the correct playbooks acquired and prerequisites satisfied, simply run the following command:
ansible-playbook -i /path/to/inventory --tags=deprovision-metrics main.yml
If the Crunchy PostgreSQL Operator playbooks were installed using yum
, use the
following commands:
export ANSIBLE_ROLES_PATH=/usr/share/ansible/roles/crunchydata
ansible-playbook -i /path/to/inventory --tags=deprovision-metrics \
/usr/share/ansible/postgres-operator/playbooks/main.yml