arista / arista.cvp / 3.10.1 / module / cv_image_v3 EOS Image management with CloudVision | "added in version" 3.3.0 of arista.cvp" Authors: Ansible Arista Team (@aristanetworks)arista.cvp.cv_image_v3 (3.10.1) — module
Install with ansible-galaxy collection install arista.cvp:==3.10.1
collections: - name: arista.cvp version: 3.10.1
CloudVision Portal Image management module.
Due to a current limitation in CloudVision API,
authentication with token is not supported for this module only.
--- - name: CVP Image Tests hosts: cv_server gather_facts: no vars: tasks: - name: "Gather CVP image information facts {{inventory_hostname}}" arista.cvp.cv_image_v3: mode: image action: get register: image_data - name: "Print out facts from {{inventory_hostname}}" debug: msg: "{{image_data}}" - name: "Get CVP image image bundles {{inventory_hostname}}" arista.cvp.cv_image_v3: mode: bundle action: get register: image_bundle_data - name: "Print out images from {{inventory_hostname}}" debug: msg: "{{image_bundle_data}}" - name: "Update an image bundle {{inventory_hostname}}" vars: ansible_command_timeout: 1200 ansible_connect_timeout: 600 arista.cvp.cv_image_v3: mode: bundle action: add bundle_name: Test_bundle image_list: - TerminAttr-1.16.4-1.swix - EOS-4.25.4M.swi
mode: choices: - bundle - image default: image description: What to manage with the module. required: false type: str image: description: Name of the image file, including path if needed. required: false type: str action: choices: - get - add - remove default: get description: Action to perform with the module. required: false type: str image_list: description: List of name of the image file, including path if needed. elements: str required: false type: list bundle_name: description: Name of the bundle to manage. required: false type: str