diff --git a/defaults/main.yml b/defaults/main.yml index 665fa346..f30b99d7 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -288,6 +288,7 @@ horizon_pip_packages: - MySQL-python - PyMySQL - neutron-lbaas-dashboard + - neutron-fwaas-dashboard - oslo.config - ply - python-memcached diff --git a/tasks/horizon_post_install.yml b/tasks/horizon_post_install.yml index 17dd23eb..9a412455 100644 --- a/tasks/horizon_post_install.yml +++ b/tasks/horizon_post_install.yml @@ -112,6 +112,13 @@ state: "{{ (horizon_enable_neutron_lbaas | bool) | ternary('link', 'absent') }}" notify: Restart apache2 +- name: Enable the neutron-fwaas-dashboard Horizon panel + file: + src: "{{ horizon_lib_dir }}/neutron_fwaas_dashboard/enabled/_7010_project_firewalls_panel.py" + path: "{{ horizon_lib_dir }}/openstack_dashboard/local/enabled/_7010_project_firewalls_panel.py" + state: "{{ (horizon_enable_neutron_fwaas | bool) | ternary('link', 'absent') }}" + notify: Restart apache2 + - name: Create horizon links file: src: "{{ item.src }}"