Categories

Nov 5, 2019 in Ansible

Q: What does Fact mean in Ansible?

1 Answer

Nov 5, 2019
The term “Facts” is commonly used in Ansible environment. They are described in the playbooks areas where it displays known and discovered variables about the system.  Facts are used to implement conditionals executions and also used for getting ad-hoc information of the information.

You can see all the facts via:

$ ansible all- m setup

So if you want to extract only certain part of the information then you can use “setup” module where you will have an option to filter out the output and just get hold of the fact that you are in need of.
Click here to read more about Ansible
Click here to read more about Insurance

Related questions

Madanswer
Feb 17 in Ansible
Jan 29 in Ansible
Nov 5, 2019 in Ansible
...