Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HP License to Role #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

apache_mirror: http://apache.mirrors.tds.net
kafka_hosts: "{{ansible_fqdn}}:9092"
kafka_version: 0.8.1.1
Expand Down
2 changes: 2 additions & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

- name: restart kafka
service: name=kafka state=restarted enabled=yes
when: run_mode == 'Deploy'
2 changes: 2 additions & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

- name: setup group
group: name={{kafka_group}} system=yes

Expand Down
2 changes: 2 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

- name: Install OpenJDK
apt: name=openjdk-7-jre-headless state=present

Expand Down
2 changes: 2 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

- include: stop.yml
when: run_mode == 'Stop'

Expand Down
2 changes: 2 additions & 0 deletions tasks/start.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

- name: Enable and Start Kafka
service: name=kafka state=started enabled=yes

Expand Down
2 changes: 2 additions & 0 deletions tasks/stop.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

- name: Stop Kafka
service: name=kafka state=stopped
2 changes: 2 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
# ©Copyright 2015 Hewlett-Packard Development Company, L.P.

kafka_conf_dir: /etc/kafka
kafka_data_dir: /var/kafka
kafka_group: kafka
Expand Down