Skip to content

Commit

Permalink
Merge pull request #118 from seraphin/master
Browse files Browse the repository at this point in the history
adding ambari-server default setup
  • Loading branch information
magglass1 authored Sep 13, 2019
2 parents 987f794 + 73f3bfb commit 4431ef8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion playbooks/roles/ambari-server/tasks/prerequisites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
- include: arcadia.yml
when: arcadia and ansible_os_family == "RedHat" and ansible_distribution_major_version == "6"

- name: Run Ambari Server setup
- name: Run Ambari Server setup for mysql connector
shell: /usr/sbin/ambari-server setup -s --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar

- name: Run Ambari Server setup for default config
shell: /usr/sbin/ambari-server setup -s

- name: Make sure ambari-server is running
command: service ambari-server restart

Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/cloudera-agent/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
with_items:
- cloudera-manager-agent
- cloudera-manager-daemons
- oracle-j2sdk1.7
- oracle-j2sdk1.8
when: ansible_os_family == "RedHat"

- name: Ensure required packages are installed (apt)
Expand Down

0 comments on commit 4431ef8

Please sign in to comment.