slaves.yml 503 Bytes
Newer Older
1
---
2 3
  - name: Install Apache kafka.
    include: install.yml
4

5
  - name: Configure Apache kafka.
6
    template: src=server.properties.j2 dest="{{ installation_path }}/kafka/config/server.properties" owner=kafka group=lambda mode=0644
7 8 9 10
    tags:
      - configure-kafka

  - name: Start Apache Kafka server.
11
    shell: /etc/init.d/kafka-init start > /dev/null &
12 13 14 15 16 17 18
    tags:
      - start-kafka

  - name: Wait for Apache Kafka server to become available.
    wait_for: port=9092
    tags:
      - start-kafka