Commit 5a4b8346 authored by Georgios Ouzounis's avatar Georgios Ouzounis
Browse files

LAM-16 Added tags in tasks in flink-install.yml playbook.

parent c8eeb21f
......@@ -5,17 +5,28 @@
tasks:
- name: Download Apache Flink, Yarn version.
get_url: url=http://apache.tsl.gr/flink/flink-0.8.1/flink-0.8.1-bin-hadoop2-yarn.tgz dest=/root/flink-0.8.1-bin-hadoop2-yarn.tgz
tags:
- download
- name: Uncompress Apache Flink.
unarchive: src=/root/flink-0.8.1-bin-hadoop2-yarn.tgz dest=/usr/local copy=no
tags:
- uncompress
- name: Create softlink for Apache Flink.
file: src=/usr/local/flink-yarn-0.8.1 dest=/usr/local/flink state=link
tags:
- uncompress
- name: Configure Apache Flink.
copy: src=../files/usr/local/flink/conf/flink-conf.yaml dest=/usr/local/flink/conf/flink-conf.yaml owner=root group=root mode=0644
tags:
- configure
- name: Start Apache Flink.
shell: /usr/local/flink/bin/yarn-session.sh -n 2 -tm 512
async: 31536000 # Stay alive for a year(1 year = 31536000 seconds).
poll: 0
tags:
- start
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment