diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/dashboard/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/dashboard/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml index ce4fd978..da6990c4 100644 --- a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml +++ b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml @@ -53,6 +53,14 @@ notify: - restart dashboard services +- name: update apache2 configs redhat + template: + src: openstack-dashboard-redhat.conf.j2 + dest: '{{ apache_config_dir }}/conf.d/openstack-dashboard.conf' + when: ansible_os_family == 'RedHat' + notify: + - restart dashboard services + - name: enable dashboard file: src: "/etc/apache2/sites-available/openstack-dashboard.conf" |