Fixed undefined variables when upgrading to Ansible 2.2.0. and the elasticsearch role is skipped using a when condition at the playbook level.
This commit is contained in:
parent
a4a0329df7
commit
9f3d6da436
1 changed files with 8 additions and 0 deletions
|
|
@ -29,3 +29,11 @@ es_xpack_features: []
|
|||
#They do not effect the current configuration
|
||||
es_api_host: "localhost"
|
||||
es_api_port: 9200
|
||||
|
||||
# Since ansible 2.2 the following variables need to be defined
|
||||
# to allow the role to be conditionally played with a when condition.
|
||||
pid_dir: ''
|
||||
log_dir: ''
|
||||
work_dir: ''
|
||||
conf_dir: ''
|
||||
data_dirs: ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue