David Moreau Simard c51366f722
Always set up the ARA systemd unit file
The idea is to make sure that the ARA systemd service is always
configured so that the service can be started/stopped/disabled without
needing to carry logic for configuring the unit file and reloading
systemctl all over the place.

Change-Id: Iadfeb0acadbb9803305abde8cface2e4104f0609
2018-08-28 12:40:14 -04:00

25 lines
849 B
YAML

---
# Copyright (c) 2018 Red Hat, Inc.
#
# This file is part of ARA Records Ansible.
#
# ARA is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ARA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ARA. If not, see <http://www.gnu.org/licenses/>.
- name: Ensure the embedded server service is started and enabled
become: true
service:
name: ara
state: started
enabled: yes