aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/dashboard/tasks
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-10-20 01:52:15 +0800
committerqi liang <liangqi1@huawei.com>2016-11-28 07:43:01 +0000
commitcb6908f2a87a728e0e2c6c2b0046cd8a18837d0e (patch)
tree4abb1ffccf0a61ec153eb52efd2bf5c66ee46699 /deploy/adapters/ansible/roles/dashboard/tasks
parentb212b7ac454fea642d7637e7489ff69665e54289 (diff)
Make openstack dashboard theme configurable
Use flag ENABLE_UBUNTU_THEME to configure enable or disable ubuntu dashboard theme. Set default to use ubuntu theme. JIRA: - Change-Id: I454c69b0290084c244979bb86c733a03721481cb Signed-off-by: QiLiang <liangqi1@huawei.com> (cherry picked from commit 065813ecbe8b4860da4281b6d67104798e3a8d43)
Diffstat (limited to 'deploy/adapters/ansible/roles/dashboard/tasks')
-rw-r--r--deploy/adapters/ansible/roles/dashboard/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
index da6990c4..229e3cfe 100644
--- a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
@@ -28,7 +28,7 @@
- name: remove ubuntu theme
action: "{{ ansible_pkg_mgr }} name=openstack-dashboard-ubuntu-theme state=absent"
- when: ansible_os_family == 'Debian'
+ when: ansible_os_family == 'Debian' and not enable_ubuntu_theme
notify:
- restart dashboard services