diff --git a/defaults/main.yml b/defaults/main.yml index 0d33341..09b564b 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -4,8 +4,8 @@ kafka_apache_mirror_base_url: https://mirror.netcologne.de/apache.org kafka_user: kafka kafka_group: kafka -kafka_version: 2.5.0 -kafka_scala_version: 2.12 +kafka_version: 2.7.0 +kafka_scala_version: 2.13 kafka_broker_id: 1 # must be set to a unique integer for each broker kafka_install_dir: /usr/local/kafka diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 20f9dea..8f0f441 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -51,7 +51,6 @@ provisioner: password: guest kafka_host: "{{ ansible_default_ipv4.address }}" kafka_zookeeper_connection_hosts: "{{ groups['zookeeper'] | map('extract', hostvars, 'ansible_host') | map('regex_replace', '^(.*)', '\\1:2181') | list }}" - kafka_version: 2.5.0 zookeeper_members: "{{ groups['zookeeper'] | map('extract', hostvars, 'ansible_default_ipv4') | map(attribute='address') | list }}" kafka: kafka_jmx_host: localhost diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index cccf94d..f5562c6 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -7,6 +7,7 @@ - name: Install ZooKeeper hosts: zookeeper vars: + zookeeper_version: 3.6.2 zookeeper_members: "{{ groups['zookeeper'] | map('extract', hostvars, 'ansible_default_ipv4') | map(attribute='address') | list }}" roles: - nl2go.zookeeper diff --git a/molecule/resources/requirements.yml b/molecule/resources/requirements.yml index 0170865..acc8daa 100644 --- a/molecule/resources/requirements.yml +++ b/molecule/resources/requirements.yml @@ -3,4 +3,4 @@ version: 1.0.0 - src: nl2go.zookeeper - version: 1.1.2 + version: 1.0.0