Comments (7)
Thanks for the raising issue, I’ll attempt to replicate on my end. Can you please provide further info on the playbook, inventory, and any group vars or host vars files you may be using when running this role.
from ansible-zookeeper.
Sure.
from ansible-zookeeper.
Defaults:
zookeeper_mirror: https://www-eu.apache.org/dist/zookeeper
zookeeper_version: 3.5.6
zookeeper_package: apache-zookeeper-{{ zookeeper_version }}-bin.tar.gz
zookeeper_group: zookeeper
zookeeper_user: zookeeper
zookeeper_root_dir: /usr/share
zookeeper_install_dir: '{{ zookeeper_root_dir }}/apache-zookeeper-{{ zookeeper_version }}'
The zookeeper_dir is created as a symlik to the actual installation directory.
All other configuration and variables use the symlinked directory.
zookeeper_dir: '{{ zookeeper_root_dir }}/zookeeper'
zookeeper_log_dir: /var/log/zookeeper
Variables for templating zookeeper.conf.j2
zookeeper_data_dir: /var/lib/zookeeper
zookeeper_data_log_dir: /var/lib/zookeeper
zookeeper_client_port: 2181
Uniquely identifies the ZooKeeper instance when clustering ZooKeeper nodes.
This value is placed in the /var/lib/zookeeper/myid file.
zookeeper_id: 1
zookeeper_leader_port: 2888
zookeeper_election_port: 3888
zookeeper_servers: "{{groups['zookeeper-nodes']}}"
zookeeper_environment: {}
Hosts:
[zookeeper-nodes]
35.192.83.190
from ansible-zookeeper.
Thanks for that. Sincere apologies for the delay, I have been able to replicate and am working on a fix.
I will be pushing out an updated role to use ZooKeeper 3.6 first as the current default version is no longer available as a download from their releases page.
from ansible-zookeeper.
@arkachat , should be resolved in master now.
from ansible-zookeeper.
Note that master will now have version 3.6.0 of ZooKeeper as I have upgraded this in a recent PR.
from ansible-zookeeper.
from ansible-zookeeper.
Related Issues (15)
- FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'zookeeper_id'"} HOT 4
- Error Task HOT 4
- sleighzy.zookeeper return AnsibleUndefinedVariable HOT 2
- Incorrect cfg for clustering? HOT 3
- inventory file HOT 2
- Support zookeeper > 3.4.14 HOT 4
- Custom location for `zoo.cfg.j2` template or change ansible_nodename HOT 1
- Add the ability to template any parameters into the zoo.cfg file
- Role installation failing on Ubuntu Ansible Controller v. 2.9.6 HOT 1
- Add a sample in readme to allow "zookeeper_servers" property from hosts list
- Change hardcoded ports in firewalld.yml file
- Add firewall rule for Debian using ufw
- Error: JAVA_HOME is not set and java could not be found in PATH. HOT 1
- Can't install role with custom name HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-zookeeper.