dellemc.os9.os9_facts – Collect facts from remote devices running Dell EMC Networking OS9
This plugin is part of the dellemc.os9 collection (version 1.0.4).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install dellemc.os9.
To use it in a playbook, specify:
Collects a base set of device facts from a remote device that is running OS9. This module prepends all of the base network fact keys with
ansible_net_<fact>. The facts module will always collect a base set of facts from the device and can enable or disable collection of additional facts.
This module has a corresponding action plugin.
This module requires OS9 version 220.127.116.11P13 or above.
This module requires an increase of the SSH connection rate limit. Use the following command ip ssh connection-rate-limit 60 to configure the same. This can be also be done with the M(os9_config) module.
For more information on using Ansible to manage Dell EMC Network devices see https://www.ansible.com/ansible-dell-networking.
# Collect all facts from the device - os9_facts: gather_subset: all # Collect only the config and default facts - os9_facts: gather_subset: - config # Do not collect hardware facts - os9_facts: gather_subset: - "!hardware"
Common return values are documented here, the following are the fields unique to this module: