sassoftware / viya4-deployment

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.
Apache License 2.0
71 stars 64 forks source link

'PROVIDER' is undefined #153

Closed SASDAVIRO closed 3 years ago

SASDAVIRO commented 3 years ago

we are deploying SAS Viya 4, and running the asnible with baseline, we have this error: TASK [baseline : Include cluster-autoscaler] ** task path: /Users/hector.pineda/adl_github/viya/luis_21/devops-anly-viya-aws/environments/dev/templates/viya/viya4-deployment-villas/roles/baseline/tasks/main.yaml:38 fatal: [localhost]: FAILED! => { "msg": "The conditional check 'PROVIDER == "aws"' failed. The error was: error while evaluating conditional (PROVIDER == "aws"): 'PROVIDER' is undefined\n\nThe error appears to be in '/Users/hector.pineda/adl_github/viya/luis_21/devops-anly-viya-aws/environments/dev/templates/viya/viya4-deployment-villas/roles/baseline/tasks/main.yaml': line 38, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Include cluster-autoscaler\n ^ here\n" }

PLAY RECAP **** localhost : ok=2 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0

--

The ansible vars has the PROVIDER configuration aws

thpang commented 3 years ago

Also need to know if you're using Docker or Ansible to run the viya4-deployment code base.

thpang commented 3 years ago

Duplicate of #151