dashboard: disable facts gathering

This is already done in the main playbooks but absent in the dashboard
playbook.
The facts are already gathered during the first play of the main
playbooks so we don't need to doing twice.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 5ae7304ace)
pull/4603/head
Dimitri Savineau 2019-10-09 13:34:50 -04:00 committed by Guillaume Abrioux
parent 5568692340
commit fd759f97fa
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
--- ---
- hosts: all - hosts: all
gather_facts: false
become: true become: true
pre_tasks: pre_tasks:
- name: set ceph node exporter install 'In Progress' - name: set ceph node exporter install 'In Progress'
@ -32,6 +33,7 @@
end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}" end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
- hosts: "{{ grafana_server_group_name }}" - hosts: "{{ grafana_server_group_name }}"
gather_facts: false
become: true become: true
pre_tasks: pre_tasks:
- name: set ceph grafana install 'In Progress' - name: set ceph grafana install 'In Progress'
@ -68,6 +70,7 @@
# using groups[] here otherwise it can't fallback to the mon if there's no mgr group. # using groups[] here otherwise it can't fallback to the mon if there's no mgr group.
# adding an additional | default(omit) in case where no monitors are present (external ceph cluster) # adding an additional | default(omit) in case where no monitors are present (external ceph cluster)
- hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) | default(omit) }}" - hosts: "{{ groups[mgr_group_name] | default(groups[mon_group_name]) | default(omit) }}"
gather_facts: false
become: true become: true
pre_tasks: pre_tasks:
- name: set ceph dashboard install 'In Progress' - name: set ceph dashboard install 'In Progress'