6d6ca0c8fa
This change includes the bits needed to add to osa such as the playbook and env.d file.
17 lines
1.6 KiB
YAML
17 lines
1.6 KiB
YAML
- name: Enable the cloudkitty-dashboard Horizon panel
|
|
file:
|
|
src: "{{ item.src }}"
|
|
path: "{{ item.dest }}"
|
|
state: "{{ (horizon_enable_cloudkitty | bool | ternary('link', 'absent')) }}"
|
|
with_items:
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_10_admin_group.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_10_admin_group.py" }
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_10_project_group.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_10_project_group.py" }
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_11_admin_hashmap_panel.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_11_admin_hashmap_panel.py" }
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_11_admin_rating_panel.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_11_admin_rating_panel.py" }
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_11_project_rating_panel.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_11_project_rating_panel.py" }
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_12_project_reporting_panel.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_12_project_reporting_panel.py" }
|
|
- { src: "{{ horizon_venv_lib_dir }}/cloudkittydashboard/enabled/_13_admin_pyscripts_panel.py", dest: "{{ horizon_venv_lib_dir }}/openstack_dashboard/local/enabled/_13_admin_pyscripts_panel.py" }
|
|
notify: Restart apache2
|
|
tags:
|
|
- horizon-configs
|