Enable apache2 service.

On CentOS, service are not enabled by default. A restart of the
container will not start keystone.

Change-Id: Ib00fdf2d652316f80c33be19dd3ee39831b1c491
This commit is contained in:
Marc Gariepy 2016-10-04 09:38:11 -04:00
parent bc00f07c33
commit 60dac156cb
1 changed files with 9 additions and 0 deletions

View File

@ -122,3 +122,12 @@
- ansible_pkg_mgr == 'yum'
notify:
- Restart service
## NOTE(mgariepy):
## We need to enable httpd on CentOS if not it won't start when the container is restarted.
- name: Load service
service:
name: "{{ keystone_system_service_name }}"
enabled: "yes"
notify:
- Restart service