From 2e0012f98ebb14d72aa9285e861c3397e2c0521d Mon Sep 17 00:00:00 2001 From: David Grier Date: Fri, 13 Sep 2019 14:13:46 +0000 Subject: [PATCH 1/2] adding ambari-server default setup --- playbooks/roles/ambari-server/tasks/prerequisites.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/ambari-server/tasks/prerequisites.yml b/playbooks/roles/ambari-server/tasks/prerequisites.yml index 35033ac..030b40f 100644 --- a/playbooks/roles/ambari-server/tasks/prerequisites.yml +++ b/playbooks/roles/ambari-server/tasks/prerequisites.yml @@ -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 From 73f3bfb06fc0ff63086c350c2c6f4a3fdaae4c2d Mon Sep 17 00:00:00 2001 From: David Grier Date: Fri, 13 Sep 2019 14:20:10 +0000 Subject: [PATCH 2/2] install current jdk version for cloudera --- playbooks/roles/cloudera-agent/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/cloudera-agent/tasks/main.yml b/playbooks/roles/cloudera-agent/tasks/main.yml index c6f0a68..6b08686 100644 --- a/playbooks/roles/cloudera-agent/tasks/main.yml +++ b/playbooks/roles/cloudera-agent/tasks/main.yml @@ -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)