Skip to content

Module cv_task_v3

cv_task_v3

Execute or Cancel CVP Tasks.

Module added in version 3.0.0

Synopsis

CloudVison Portal Task module to action pending tasks on CLoudvision

Module-specific Options

The following options may be specified for this module:

parameter type required default choices comments
state
str no executed
  • executed
  • cancelled
action to carry out on the task executed - execute tasks cancelled - cancel tasks
tasks
list yes
CVP taskIDs to act on


Examples:

---
- name: Execute all tasks registered in cvp_configlets variable
  arista.cvp.cv_task:
    tasks: "{{ cvp_configlets.taskIds }}"

- name: Cancel a list of pending tasks
  arista.cvp.cv_task:
    tasks: ['666', '667']
    state: cancelled
Author

- EMEA AS Team (@aristanetworks)


Last update: April 28, 2021


Back to top