inexio / inexio.thola / 1.0.2 / module / thola_check_identify_facts Checks if identify matches the expected properties | "added in version" 1.0.0 of inexio.thola" Authors: Thola teaminexio.thola.thola_check_identify_facts (1.0.2) — module
Install with ansible-galaxy collection install inexio.thola:==1.0.2
collections: - name: inexio.thola version: 1.0.2
Checks if identify matches the expected properties for a given device
- name: thola check identify thola_check_identify_facts: api_host: '{{ api_host }}' host: '{{ host }}' community: '{{ community }}' version: '{{ version }}' port: '{{ port }}' discover_parallel_request: '{{ discover_parallel_request }}' discover_retries: '{{ discover_retries }}' discover_timeout: '{{ discover_timeout }}' device_class: '{{ class }}' model: '{{ model }}' model_series: '{{ model_series }}' os_version: '{{ os_version }}' serial_number: '{{ serial_number }}' vendor: '{{ vendor }}' model_diff_warning: '{{ model_diff_warning }}' model_series_diff_warning: '{{ model_series_diff_warning }}' os_diff_warning: '{{ os_diff_warning }}' os_version_diff_warning: '{{ os_version_diff_warning }}' serial_number_diff_warning: '{{ serial_number_diff_warning }}' vendor_diff_warning: '{{ vendor_diff_warning }}' register: result '{{ discover_timeout }}'
host: description: - IP of the device you want to identify required: true port: description: - The port you want Thola to connect to the device model: description: - The expected model when identify is run vendor: description: - The expected vendor when identify is run version: description: - SNMP version that should be used to connect to the device api_host: description: - Hostname of the running Thola API instance required: true community: description: - SNMP community of the device os_version: description: - The expected os version when identify is run device_class: description: - The expected class when identify is run model_series: description: - The expected model series when identify is run serial_number: description: - The expected serial number when identify is run os_diff_warning: description: - Show warning when OS differs discover_retries: description: - Sets the number of discovery retries discover_timeout: description: - Sets the discover timeout model_diff_warning: description: - Show warning when model differs vendor_diff_warning: description: - Show warning when vendor differs os_version_diff_warning: description: - Show warning when OS version differs discover_parallel_request: description: - Sets the number of possible parallel requests model_series_diff_warning: description: - Show warning when model series differs serial_number_diff_warning: description: - Show warning when serial number differs
changed: description: whether the command has been executed on the device returned: always sample: true type: bool thola_check_identify_facts: description: Whether expected values were correct returned: always type: dict