Skip to content

Commit

Permalink
fixing up mysql setup for cloudera
Browse files Browse the repository at this point in the history
  • Loading branch information
grierdavid committed May 19, 2016
1 parent 0d93176 commit 439034f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion playbooks/group_vars/cloudera
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install_storm: false
install_kafka: false
install_falcon: false
admin_password: 'admin'
services_password: 'temp'
services_pass: 'temp'
alerts_contact: '[email protected]'
data_disks_filesystem: xfs
configure_firewall: true
Expand Down
2 changes: 2 additions & 0 deletions playbooks/roles/cloudera-mysql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
with_items: "{{ pkgs }}"
when: ansible_os_family == "RedHat"

- include_vars: group_vars/cloudera

- include_vars: mysql_vars.yml

- name: mysql config template
Expand Down
18 changes: 9 additions & 9 deletions playbooks/roles/cloudera-mysql/vars/mysql_vars.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
mysql_root_pass: 'temp'
amon_pass: {{ services_pass }}
rman_pass: {{ services_pass }}
sentry_pass: {{ services_pass }}
nav_pass: {{ services_pass }}
navms_pass: {{ services_pass }}
hive_pass: {{ services_pass }}
sqoop_pass: {{ services_pass }}
oozie_pass: {{ services_pass }}
scm_pass: {{ services_pass }}
amon_pass: "{{ services_pass }}"
rman_pass: "{{ services_pass }}"
sentry_pass: "{{ services_pass }}"
nav_pass: "{{ services_pass }}"
navms_pass: "{{ services_pass }}"
hive_pass: "{{ services_pass }}"
sqoop_pass: "{{ services_pass }}"
oozie_pass: "{{ services_pass }}"
scm_pass: "{{ services_pass }}"
db_names:
- amon
- metastore
Expand Down

0 comments on commit 439034f

Please sign in to comment.