Move the dashboard playbook in the main directory

The [group|host]_vars directories are ignored for the dashboard playbook
when the inventory file directory doesn't contain those directories.

Closes: #4601
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1761612

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/4621/head
Dimitri Savineau 2019-10-17 15:10:59 -04:00 committed by Dimitri Savineau
parent 4e9504c939
commit 8426856262
3 changed files with 2 additions and 2 deletions

View File

@ -442,7 +442,7 @@
run_once: true run_once: true
when: not ceph_status.failed when: not ceph_status.failed
- import_playbook: infrastructure-playbooks/dashboard.yml - import_playbook: dashboard.yml
when: when:
- dashboard_enabled | bool - dashboard_enabled | bool
- groups.get(grafana_server_group_name, []) | length > 0 - groups.get(grafana_server_group_name, []) | length > 0

View File

@ -456,7 +456,7 @@
run_once: true run_once: true
when: not ceph_status.failed when: not ceph_status.failed
- import_playbook: infrastructure-playbooks/dashboard.yml - import_playbook: dashboard.yml
when: when:
- dashboard_enabled | bool - dashboard_enabled | bool
- groups.get(grafana_server_group_name, []) | length > 0 - groups.get(grafana_server_group_name, []) | length > 0