]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
dashboard: disable facts gathering
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 9 Oct 2019 17:34:50 +0000 (13:34 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Fri, 11 Oct 2019 18:51:33 +0000 (14:51 -0400)
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>
infrastructure-playbooks/dashboard.yml

index f36e5ea1a47ef7ea70bdb6d53d28268d6258068a..679fad1bffde1968420c0fa9522ad4f81b3d15c2 100644 (file)
@@ -1,5 +1,6 @@
 ---
 - hosts: all
+  gather_facts: false
   become: true
   pre_tasks:
     - name: set ceph node exporter install 'In Progress'
@@ -32,6 +33,7 @@
             end: "{{ lookup('pipe', 'date +%Y%m%d%H%M%SZ') }}"
 
 - hosts: "{{ grafana_server_group_name }}"
+  gather_facts: false
   become: true
   pre_tasks:
     - 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.
 # 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) }}"
+  gather_facts: false
   become: true
   pre_tasks:
     - name: set ceph dashboard install 'In Progress'