Installs edenhill/librdkafka from sources on Debian/Ubuntu.
Tested with :
- Debian 11.x ✔️
- Ubuntu 22.04.x ✔️
---
librdkafka_cleanup_if_exists: false # Turn to true if you wish to overwrite existing assets (weither it comes from source or apt). Usefull for upgrade/downgrade.
librdkafka_version: v1.9.2 # the release number to get from GitHub. See: https://github.com/edenhill/librdkafka/releases
# librdkafka_checksum: # specify matching SHA256's checksum if you want to
# librdkafka_build_opts: # See: https://github.com/edenhill/librdkafka#building
---
- src: https://github.com/rgsystemes/ansible-role-librdkafka
name: rgsystem.librdkafka
version: master
---
- hosts: servers
become: yes
gather_facts: yes
roles:
- name: rgsystem.librdkafka
vars:
librdkafka_cleanup_if_exists: true
librdkafka_version: v1.4.0
librdkafka_checksum: sha256:ae27ea3f3d0d32d29004e7f709efbba2666c5383a107cc45b3a1949486b2eb84
librdkafka_build_opts: --install-deps
None
MIT / BSD