Skip to content

Commit

Permalink
[GITHUB-42] Stop kafka from restarting on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-oledzki committed Apr 11, 2019
1 parent f84a737 commit a37b1a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion molecule/default/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

roles:
- role: sansible.zookeeper
sansible_zookeeper_version: 3.4.13
sansible_zookeeper_version: 3.4.14

- role: kafka
6 changes: 3 additions & 3 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@
notify:
- restart kafka

- name: Flush handlers to ensure Kafka is up to date
meta: flush_handlers

- name: Ensure Kafka is running
become: yes
service:
enabled: yes
name: kafka
state: started

- name: Flush handlers to ensure Kafka is up to date
meta: flush_handlers

- name: Wait for Kafka port
wait_for:
port: "{{ sansible_kafka_port }}"
Expand Down

0 comments on commit a37b1a6

Please sign in to comment.