Closed sugetha24 closed 1 year ago
cv_facts_v3 has a verbose option that isn't exposed. This gets all facts on devices.
Fixes #534
arista.cvp.cv_facts_v3
expose verbose option to be set from modules via playbook.
verbose
--- - name: get facts hosts: CloudVision connection: local gather_facts: no tasks: - name: "#01 - Collect devices facts from {{inventory_hostname}}" tags: [facts] arista.cvp.cv_facts_v3: facts: - devices regexp_filter: "tp-avd-spine1" verbose: long register: facts_devices - name: "Printing facts from {{inventory_hostname}}" tags: [facts] debug: msg: "{{ facts_devices.data.cvp_devices }}"
- architecture: '' bootupTimeStamp: 0 bootupTimestamp: 0 complianceCode: '0001' complianceIndication: WARNING containerName: TP_SPINES danzEnabled: false dcaKey: null deviceInfo: Registered deviceStatus: Registered deviceType: eos domainName: '' fqdn: tp-avd-spine1.tst hardwareRevision: '' hostname: tp-avd-spine1.tst internalBuild: '' internalBuildId: '' internalVersion: 4.28.2F ipAddress: 10.83.13.212 isDANZEnabled: false isMLAGEnabled: false key: 50:08:00:8b:ee:b1 lastSyncUp: 0 memFree: 0 memTotal: 0 mlagEnabled: false modelName: vEOS-lab parentContainerId: container_d6e4aa41-07f0-45ee-bfeb-4b4c857771f5 parentContainerKey: container_d6e4aa41-07f0-45ee-bfeb-4b4c857771f5 parentContainerName: TP_SPINES serialNumber: CD0EADBEEA126915EA78E0FB4DC776CA sslConfigAvailable: false
Change Summary
cv_facts_v3 has a verbose option that isn't exposed. This gets all facts on devices.
Related Issue(s)
Fixes #534
Component(s) name
arista.cvp.cv_facts_v3
Proposed changes
expose
verbose
option to be set from modules via playbook.How to test
output:
Checklist
User Checklist
Repository Checklist