Added in version 1.8
Gather fact data (characteristics) of Comware 7 devices
parameter | required | default | choices | comments |
---|---|---|---|---|
port | yes | 830 | NETCONF port number | |
hostname | yes | IP Address or hostname of the Comware 7 device that has NETCONF enabled | ||
username | yes | Username used to login to the switch | ||
password | yes | Password used to login to the switch | ||
look_for_keys | no | False | Whether searching for discoverable private key files in ~/.ssh/ |
# get facts - comware_facts: username={{ username }} password={{ password }} hostname={{ inventory_hostname }}