Skip to content

Instantly share code, notes, and snippets.

View RGMishan's full-sized avatar
🎯
Automation Yeah!!!!!

Mishan Regmi RGMishan

🎯
Automation Yeah!!!!!
View GitHub Profile
@RGMishan
RGMishan / hadoopmaster.yml
Created March 20, 2021 07:15
Ansible Playbook to Configure Hadoop Name Node
- hosts: 192.168.56.104
vars_files:
- master_vars.yml
tasks:
- name: "Creating a directory"
file:
state: directory
path: "{{ directory_path }}"
- name: "Copying hdfs-site.xml"
@RGMishan
RGMishan / hadoopall.yml
Created March 20, 2021 07:09
All Hadoop Node Software Installation File
- hosts: all
tasks:
- name: "Sending Hadoop from Controller node to Hosts"
copy:
src: "/root/hadoop-1.2.1-1.x86_64.rpm"
dest: "/root"
- name: "Sending JDK to Host Systems"
copy:
dest: "/root"