15 lines
637 B
YAML
15 lines
637 B
YAML
---
|
|
- name: copy /etc/hbase/conf.dist to {{ hbase_conf_dir }}
|
|
command: creates={{ hbase_conf_dir }} cp -R -p /etc/hbase/conf.dist {{ hbase_conf_dir }}
|
|
tags: [ 'hadoop', 'hbase', 'configuration' ]
|
|
|
|
- name: run 'update-alternatives' to install hbase configuration
|
|
alternatives: name=hbase-conf link=/etc/hbase/conf path={{ hbase_conf_dir }}
|
|
tags: [ 'hadoop', 'hbase', 'configuration' ]
|
|
|
|
- name: Install the hbase shared configuration files
|
|
template: src={{ item }}.j2 dest={{ hbase_conf_dir }}/{{ item }} owner=root group=root mode=444
|
|
with_items:
|
|
- log4j.properties
|
|
tags: [ 'hadoop', 'hbase', 'configuration', 'log4j' ]
|