fb866f7319
The tripleo-image-serve role from tripleo-common has been imported. This role will now be tested with molecule running in containers allowing us to validate the role functionality on both CENT7 and F28. Change-Id: I56a390f05193c7c004b7c1254575bddbb9d027fc Signed-off-by: Kevin Carter <kecarter@redhat.com>
31 lines
887 B
YAML
31 lines
887 B
YAML
---
|
|
# Copyright 2019 Red Hat, Inc.
|
|
# All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
|
|
- name: restart httpd
|
|
command: /bin/true
|
|
notify:
|
|
- Image-Serve | reload systemd
|
|
- Image-Serve | reload httpd
|
|
listen: "restart httpd service"
|
|
|
|
- name: Image-Serve | reload httpd
|
|
systemd:
|
|
name: httpd
|
|
state: restarted
|
|
enabled: true
|
|
daemon_reload: true
|