cloudera-labs / cloudera-deploy

A general purpose framework for automating Cloudera Products
Apache License 2.0
63 stars 61 forks source link

Deployment fails with dynamic inventory and absolute definition paths #86

Closed Chaffelson closed 1 year ago

Chaffelson commented 2 years ago

There appears to be a bug where, if you are using dynamic inventory and an absolute path to your definition, it fails to use the default inventory path. e.g. ansible-playbook /opt/cloudera-deploy/main.yml -e "definition_path=/opt/cloudera-deploy/examples/c5secure" -t infra,full_cluster

Workaround is to pass in the correct inventory path with -i /runner/inventory e.g. ansible-playbook /opt/cloudera-deploy/main.yml -e "definition_path=/opt/cloudera-deploy/examples/c5secure" -i /runner/inventory -t infra,full_cluster

Chaffelson commented 1 year ago

This is resolved in the v2 development branches, so closing as unnecessary.