Why Ansible Does Not Print The Facts When Using "Setup" Module With YAML stdout Callback Plugin ?

Solution Verified - Updated -

Issue

  • When using the Ansible default configuration (default stdout callback plugin), and running setup module either via playbook or ad-hoc commands, the facts are directed at stdout is printed to the console on the machine running Ansible.

  • While using the yaml callback plugin, the facts are not printed.

Environment

Ansible

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