Project

General

Profile

Actions

Feature #25454

open

Add ability to disable facts gathering

Added by Ondřej Pražák about 6 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Currently, there is no facility to disable 'facts gathering', which will be helpful in fastening the job invocation process or if users are not interested in gathering facts.

We could have a setting for 'facts gathering' for all the jobs in Settings or make it more granular and disable it only when running particular jobs.

Steps to Reproduce:
1. Disable facts gathering for a job or for all the jobs.

Actual results:
Currently, no setting which allows us to disable 'facts gathering'

Expected results:
Facts gathering is disabled for a particular job or for all the jobs.


Related issues 1 (0 open1 closed)

Has duplicate Ansible - Feature #25865: Add ability to enable or disable Ansible facts gatheringDuplicateActions
Actions #1

Updated by Paul Calabro about 6 years ago

  • Subject changed from Add ability to disable facts gathering to Add ability to disable facts gathering

Ondřej Pražák wrote:

Description of problem:
Currently, there is no facility to disable 'facts gathering', which will be helpful in fastening the job invocation process or if users are not interested in gathering facts.

We could have a setting for 'facts gathering' for all the jobs in Settings or make it more granular and disable it only when running particular jobs.

Steps to Reproduce:
1. Disable facts gathering for a job or for all the jobs.

Actual results:
Currently, no setting which allows us to disable 'facts gathering'

Expected results:
Facts gathering is disabled for a particular job or for all the jobs.

Since fact gathering occurs automatically due to the setup module being implicitly invoked at the playbook level, one way to disable this is setting `gather_facts: false` for a given play (this provides some granularity). This can also be disabled globally via this ansible.cfg setting: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#default-gathering

Perhaps, this can be parameterized at the template level.
I

Actions #2

Updated by Ondřej Ezr over 3 years ago

  • Has duplicate Feature #25865: Add ability to enable or disable Ansible facts gathering added
Actions #3

Updated by Ondřej Ezr over 3 years ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF