dashboard: remove useless block section

The block section were used with the dashboard_enabled condition when
the code was included in the main playbooks.
Because this condition isn't present in the dashboard playbook anymore
we can remove the block section.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
pull/4519/head
Dimitri Savineau 2019-10-02 14:58:42 -04:00 committed by Guillaume Abrioux
parent 0346871fb5
commit cf47594b47
1 changed files with 30 additions and 33 deletions

View File

@ -11,17 +11,16 @@
start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
tasks: tasks:
- block: - import_role:
- import_role: name: ceph-defaults
name: ceph-defaults tags: ['ceph_update_config']
tags: ['ceph_update_config'] - import_role:
- import_role: name: ceph-facts
name: ceph-facts tags: ['ceph_update_config']
tags: ['ceph_update_config'] - import_role:
- import_role: name: ceph-container-engine
name: ceph-container-engine - import_role:
- import_role: name: ceph-node-exporter
name: ceph-node-exporter
post_tasks: post_tasks:
- name: set ceph node exporter install 'Complete' - name: set ceph node exporter install 'Complete'
@ -44,19 +43,18 @@
start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
tasks: tasks:
- block: - import_role:
- import_role: name: ceph-defaults
name: ceph-defaults tags: ['ceph_update_config']
tags: ['ceph_update_config'] - import_role:
- import_role: name: ceph-facts
name: ceph-facts tags: ['ceph_update_config']
tags: ['ceph_update_config'] - import_role:
- import_role: name: ceph-container-engine
name: ceph-container-engine - import_role:
- import_role: name: ceph-prometheus
name: ceph-prometheus - import_role:
- import_role: name: ceph-grafana
name: ceph-grafana
post_tasks: post_tasks:
- name: set ceph grafana install 'Complete' - name: set ceph grafana install 'Complete'
@ -79,15 +77,14 @@
start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" start: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
tasks: tasks:
- block: - import_role:
- import_role: name: ceph-defaults
name: ceph-defaults tags: ['ceph_update_config']
tags: ['ceph_update_config'] - import_role:
- import_role: name: ceph-facts
name: ceph-facts tags: ['ceph_update_config']
tags: ['ceph_update_config'] - import_role:
- import_role: name: ceph-dashboard
name: ceph-dashboard
post_tasks: post_tasks:
- name: set ceph dashboard install 'Complete' - name: set ceph dashboard install 'Complete'