!!!!! junos module (core ansible) Vs juniper_junos ( from juniper ) module !!!!!!!!!!
ansible module |
|
juniper module | https://junos-ansible-modules.readthedocs.io/en/2.1.0/ juniper module juniper_junos_jsnapy juniper_junos_srx_cluster juniper_junos_ping juniper_junos_command juniper_junos_system juniper_junos_facts juniper_junos_config juniper_junos_software juniper_junos_pmtud juniper_junos_table juniper_junos_rpc |
. . .
ansible-doc junos_facts
root@ubuntu:/etc/ansible/roles/vsrx1/tasks# ansible-doc junos_facts
> JUNOS_FACTS (/usr/local/lib/python2.7/dist-packages/ansible/modules/network/junos/junos_facts.py)
Collects fact information from a remote device running the Junos operating system. By default, the module
will collect basic fact information from the device to be included with the hostvars. Additional fact
information can be collected based on the configured set of arguments.
OPTIONS (= is mandatory):
- config_format
The `config_format' argument specifies the format of the configuration when serializing output from the
device. This argument is applicable only when `config' value is present in `gather_subset'. The
`config_format' should be supported by the junos version running on device.
(Choices: xml, set, text, json)[Default: text]
version_added: 2.3
- gather_subset
When supplied, this argument will restrict the facts collected to a given subset. Possible values for this
argument include all, hardware, config, and interfaces. Can specify a list of values to include a larger
subset. Values can also be used with an initial `[!]' to specify that a specific subset should not be
collected. To maintain backward compatbility old style facts can be retrieved using all value, this reqires
junos-eznc to be installed as a prerequisite.
[Default: !config]
version_added: 2.3
- provider
A dict object containing connection details.
[Default: None]
suboptions: