!!!!! junos module (core ansible) Vs juniper_junos ( from juniper ) module !!!!!!!!!!
ansible-doc --list
. . . junos_banner Manage multiline banners on Juniper JUNOS devices
junos_command Run arbitrary commands on an Juniper JUNOS device
junos_config Manage configuration on devices running Juniper JUNOS
junos_facts Collect facts from remote devices running Juniper Junos
junos_interface Manage Interface on Juniper JUNOS network devices
junos_l3_interface Manage L3 interfaces on Juniper JUNOS network devices
junos_linkagg Manage link aggregation groups on Juniper JUNOS network devices
junos_lldp Manage LLDP configuration on Juniper JUNOS network devices
junos_lldp_interface Manage LLDP interfaces configuration on Juniper JUNOS network devices
junos_logging Manage logging on network devices
junos_netconf Configures the Junos Netconf system service
junos_package Installs packages on remote devices running Junos
junos_rpc Runs an arbitrary RPC over NetConf on an Juniper JUNOS device
junos_static_route Manage static IP routes on Juniper JUNOS network devices
junos_system Manage the system attributes on Juniper JUNOS devices
junos_user Manage local user accounts on Juniper JUNOS devices
junos_vlan Manage VLANs on Juniper JUNOS network devices
junos_vrf Manage the VRF definitions on Juniper JUNOS devices
. . .
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: