Commit de78c0a3 authored by efikalti's avatar efikalti
Browse files

LAM-14 fixed path variable in environment file

parent e2c1f771
......@@ -3,8 +3,6 @@ export HADOOP_HOME=/usr/local/hadoop
export YARN_HOME=$HADOOP_HOME
export HADOOP_CONF_DIR=$HADOOP_HOME/etc/hadoop
export YARN_CONF_DIR=$HADOOP_HOME/etc/hadoop
PATH=$PATH:$HADOOP_HOME/bin
PATH=$PATH:$HADOOP_HOME/sbin
export FLINK_HOME=/usr/local/flink
PATH=$PATH:$FLINK_HOME/bin
export KAFKA_HOME=/usr/local/kafka
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/hadoop/bin:/usr/local/hadoop/sbin:/usr/local/flink/bin"
\ No newline at end of file
......@@ -5,14 +5,14 @@
tasks:
# aptitude packages
- include: ../tasks/aptitude/upgrade.yml tags=install_scripts
- include: ../tasks/aptitude/java.yml tags=install_scripts
- include: ../tasks/aptitude/vim.yml tags=install_scripts
- include: ../tasks/aptitude/python.yml tags=install_scripts
#- include: ../tasks/aptitude/upgrade.yml tags=install_scripts
#- include: ../tasks/aptitude/java.yml tags=install_scripts
#- include: ../tasks/aptitude/vim.yml tags=install_scripts
#- include: ../tasks/aptitude/python.yml tags=install_scripts
# copy /etc/hosts file
- include: ../tasks/install/hosts.yml tags=install_scripts
#- include: ../tasks/install/hosts.yml tags=install_scripts
# copy /etc/environment file
- include ../tasks/include/environment.yml tags=install_scripts
- include: ../tasks/install/environment.yml tags=install_scripts
# run ssh-keygen
- include: ../tasks/ssh/ssh-keygen.yml tags=install_scripts
......@@ -29,4 +29,3 @@
tasks:
# distribute ssh key to all nodes
- include: ../tasks/ssh/authorized-key.yml
\ No newline at end of file
---
#copy hosts ip-hostname file
- name: Copy hosts file
#copy environment file
- name: Copy environment file
tags: install_scripts
copy: src=files/etc/environment
copy: src=../files/etc/environment
dest=/etc/ backup=no
owner=root group=root mode=0750
- name: source environment file
tags: install_scripts
shell: source /etc/environment
......@@ -2,4 +2,4 @@
- name: Run ssh-keygen
tags: install_scripts
shell: cat /dev/zero | ssh-keygen -q -N ""
command: cat /dev/zero | ssh-keygen -q -N "" creates=/root/.ssh/id_rsa.pub
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