Skip to content

Commit

Permalink
Re-add fix for RHEL 7 systemd.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Nov 24, 2016
1 parent 5fdc499 commit f2b2143
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@
and (ansible_distribution_version.split(".")[0] == '7')
and (solr_install_script_result.changed)
failed_when: false

- name: Run systemd daemon_reload (RHEL 7 workaround).
systemd:
name: solr
daemon_reload: yes
when: >
(ansible_os_family == 'RedHat')
and (ansible_distribution_version.split(".")[0] == '7')
and (solr_install_script_result.changed)

0 comments on commit f2b2143

Please sign in to comment.