ansible-kafka icon indicating copy to clipboard operation
ansible-kafka copied to clipboard

Ansible Kafka role

Results 10 ansible-kafka issues
Sort by recently updated
recently updated
newest added

- Fixed .iteritems() not working for dict in py3. - Removed support for python 2.7. - Updated kafka version, as the old one can't be found.

There is some error if I am using ansible with py3 ``` TASK [kafka : Render and write out kafka configuration files] *********************** task path: /Users/lili/Research/Dev/playbooks/roles/kafka/tasks/kafka-cfg.yml:38 failed: [bcart01] (item=server.properties) =>...

I think the Vagrant VM is irrelevant, or at least much less relevant than updating apt's cache before trying to install the java package. ``` $ vagrant provision ==> deployml:...

sudo: yes -> become: yes version_compare -> version

In modern versions of Ansible (I'm using version 2.6.1, which this bug applies to) there is new behavior of `set_fact`, where `set_fact` no longer overrides role variables (see [Ansible 22025](https://github.com/ansible/ansible/issues/22025)...

Hi. Thanks for perfect role, like it a lot, however: This is my playbook: ``` - hosts: kafka vars: zookeeper_hosts: 172.31.32.93 kafka_zookeeper_hosts: - 172.31.32.93 kafka_hosts: - 172.31.46.135 - 172.31.47.248 roles:...

Hi, I had to override server.advertised_listeners, which is defined in the default role variables, and it was quite a difficult task. I asked a coworker which knows Ansible much better...

In the `ansible-kafka/tasks/system.yml`, we have the following task: ``` - name: "Add kafka utilities to /etc/profile* so they'll be available in $PATH" lineinfile: dest=/etc/profile.d/Z99-kafka.sh regexp="^export PATH=.*$" line='export PATH="${PATH}:/usr/local/lib/kafka/bin"' state=present create=yes...

Problem is caused by fact that tr on empty string is ok (command return 0). So tr -d '-' || echo '0' behaves different then expected. Proper order of commands...