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

Wrong path added to profile.d

Open cmontemuino opened this issue 8 years ago • 3 comments

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
sudo: yes

Please bear in mind that /usr/local/lib/kafka/bin is wrong. It should be /usr/local/kafka/bin instead.

cmontemuino avatar Nov 02 '17 22:11 cmontemuino

Hey @cmontemuino, thanks for the taking the time to file this issue.

A PR with a fix would be welcome and appreciated!

jaytaylor avatar Nov 08 '17 21:11 jaytaylor

I encounter this as well - will create PR shortly

kknd22 avatar Dec 14 '17 14:12 kknd22

PR merged, case closed 👍

lhoss avatar Feb 02 '18 09:02 lhoss