Skip to content

Commit

Permalink
Merge pull request #32 from seraphin/master
Browse files Browse the repository at this point in the history
fixing OS conditional
  • Loading branch information
grierdavid committed Jan 20, 2016
2 parents dedb8a3 + b384185 commit aae1a52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playbooks/roles/ambari-server/tasks/prerequisites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@

- name: because packaging is hard
copy: src=ambari-server.service dest=/usr/lib/systemd/system/ambari-server.service
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
Expand Down

0 comments on commit aae1a52

Please sign in to comment.