Member since
08-22-2019
7
Posts
0
Kudos Received
0
Solutions
08-23-2019
12:53 PM
Perfect. Here's my solution based on your feedback. - name: Check if Ambari setup has already run command: grep 'jdbc' /etc/ambari-server/conf/ambari.properties register: ambari_setup_check check_mode: no ignore_errors: yes changed_when: no - name: Setup Ambari server command: printf '%s\n' y ambari y y n | ambari-server setup -j /usr/lib/jvm/java-8- openjdk-amd64 become: yes when: ambari_setup_check.rc == 1
... View more