jaytaylor / ansible-kafka

Ansible Kafka role
https://galaxy.ansible.com/jaytaylor/kafka/
Other
67 stars 52 forks source link

"Generate generic unique machine id integer" fails on LVM root #31

Open artur-fijalkowski opened 6 years ago

artur-fijalkowski commented 6 years ago

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 below

jaytaylor commented 6 years ago

Hi @artur-fijalkowski,

Thanks for taking the time to dig in and identify a possible remedy.

PRs welcome :)