-
Notifications
You must be signed in to change notification settings - Fork 855
ES_PATH_CONF environment variable isn't set by playbook #492
Comments
There was a bug which was introduced in 6.3 which was just fixed in the 6.4 release by #476 . There is a specific task which locks the package version so that only ansible is upgrading Elasticsearch and not apt. Could you fill out the template to specify which role version and elasticsearch version you are using? If you are using < 6.4 as the role version and the |
I have this problem to Elasticsearch version: 6.4.0 Playbook:
group_vars/all:
|
Hi, not sure about the version of the role that I'm using. However, I started working with it about 2-3 weeks ago. I think most if not all of the changes since then are focused on the test suite. Also, I'm running elasticsearch version 6.4.0. I see a variable called es_version_lock: false. I'm changing this to true and then trying again. |
Hey, pretty sure this fixed my problem. thanks again! for anyone else, but sure that es_version_lock is set to true and the playbook will lock the elasticsearch package. |
Ahh I had forgotten that this was set to @KoteIkIn looking at your config it seems you also don't have |
When installing elasticsearch with this ansible role, the ES_PATH_CONF environmental variable isn't set for the system or isn't enabled. I'm running the playbook against an Ubuntu 16.04 VM that I've built from scratch.
When I attempt to run an apt upgrade, I get an error with the elasticsearch package indicating that it can't be upgraded/updated as the ES_PATH_CONF variable is not set.
Is this a problem with the playbook? or am I missing a step?
<!
Describe the feature:
Elasticsearch version
Role version: (If using master please specify github sha)
JVM version (
java -version
):OS version (
uname -a
if on a Unix-like system):Description of the problem including expected versus actual behaviour:
Playbook:
Please specify the full playbook used to reproduce this issue.
Provide logs from Ansible:
ES Logs if relevant:
The text was updated successfully, but these errors were encountered: