diff --git a/playbooks/roles/ambari-server/tasks/prerequisites.yml b/playbooks/roles/ambari-server/tasks/prerequisites.yml index a7a6df5..ae381fe 100644 --- a/playbooks/roles/ambari-server/tasks/prerequisites.yml +++ b/playbooks/roles/ambari-server/tasks/prerequisites.yml @@ -25,7 +25,7 @@ when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "7" - name: Enable the ambari-server service - service: name=ambari-server state=started enabled=yes + service: name=ambari-server state=restarted enabled=yes - name: Waiting for ambari-server to start listening on port 8080 wait_for: host={{ansible_fqdn}} port=8080