How to limit fact gathering in Ansible

Solution Verified - Updated -

Issue

  • In certain situations an Ansible Playbook using gather_facts: true takes a very long time to gather the facts. An example of such a situation is a system with lots of SAN disks attached

Environment

  • Red Hat Enterprise Linux
  • Red Hat Ansible Automation Engine
  • Red Hat Ansible Automation Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content