This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Only run the uninstall postgrescluster task when an internal postgres database is present to avoid the error msg generated trying to uninstall a postgres db that's not present.
Tests
Ran through a Viya uninstall against two deployments, one with an internal postgres db installed and one with an external postgres db installed.
Scenario
Provider
Outcome
1 - Internal postgres db
Azure
Uninstall postgresclusters task runs as needed and uninstalls postgres prior to Viya uninstall
Changes
Only run the uninstall postgrescluster task when an internal postgres database is present to avoid the error msg generated trying to uninstall a postgres db that's not present.
Tests
Ran through a Viya uninstall against two deployments, one with an internal postgres db installed and one with an external postgres db installed.