diff --git a/defaults/main.yml b/defaults/main.yml index 34f1417..a42cd28 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/handlers/main.yml b/handlers/main.yml index 650e11f..12d4fda 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -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' diff --git a/tasks/configure.yml b/tasks/configure.yml index 6ddd88f..2449534 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -1,4 +1,6 @@ --- +# ©Copyright 2015 Hewlett-Packard Development Company, L.P. + - name: setup group group: name={{kafka_group}} system=yes diff --git a/tasks/install.yml b/tasks/install.yml index a26d148..a601368 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -1,4 +1,6 @@ --- +# ©Copyright 2015 Hewlett-Packard Development Company, L.P. + - name: Install OpenJDK apt: name=openjdk-7-jre-headless state=present diff --git a/tasks/main.yml b/tasks/main.yml index b1146e2..695867d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,4 +1,6 @@ --- +# ©Copyright 2015 Hewlett-Packard Development Company, L.P. + - include: stop.yml when: run_mode == 'Stop' diff --git a/tasks/start.yml b/tasks/start.yml index 080982c..efb17ce 100644 --- a/tasks/start.yml +++ b/tasks/start.yml @@ -1,4 +1,6 @@ --- +# ©Copyright 2015 Hewlett-Packard Development Company, L.P. + - name: Enable and Start Kafka service: name=kafka state=started enabled=yes diff --git a/tasks/stop.yml b/tasks/stop.yml index cc575f0..aabac1a 100644 --- a/tasks/stop.yml +++ b/tasks/stop.yml @@ -1,3 +1,5 @@ --- +# ©Copyright 2015 Hewlett-Packard Development Company, L.P. + - name: Stop Kafka service: name=kafka state=stopped diff --git a/vars/main.yml b/vars/main.yml index 6fcace1..ffc589d 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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