Use the following steps to install Ranger using Ambari.
Start the Installation
Customize Services
Complete the Ranger Installation
Pre-creating Ranger DB Users with the DBA Setup Script
Updating Ranger Admin Passwords