You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are conditionals for some tasks within the eos_config_deploy_cvp v3 role allowing for bool vars to be set on the calling playbook that imports the role. These don't cover all available tasks and restricts the ability to more granularly customise the tasks executed without forking the role.
We currently fork this process today and would be good for this to be added upstream. Specifically conditionals are missing for:
name: "Create configlets on CVP {{ inventory_hostname }}." name: "Building Containers topology on {{ inventory_hostname }}" name: "Configure devices on {{ inventory_hostname }}"
Which component of AVD is impacted
eos_config_deploy_cvp
Use case example
Add additional bool variables to support conditional execution of tasks based on the calling playbook in a similar way to avd_eos_config_deploy_cvp_execute_configlet_tasks
For example, add an option to apply a false value (default true) to avd_eos_config_deploy_cvp_build_container to control execution of v3 task name: "Building Containers topology on {{ inventory_hostname }}"
Development efforts should be made to cv_deploy role but this, for me, is a small easy QOL improvement to bridge the gap until I can transition to the cv_deploy role within our playbooks.
Additional context
No response
Contributing Guide
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Enhancement summary
There are conditionals for some tasks within the eos_config_deploy_cvp v3 role allowing for bool vars to be set on the calling playbook that imports the role. These don't cover all available tasks and restricts the ability to more granularly customise the tasks executed without forking the role.
We currently fork this process today and would be good for this to be added upstream. Specifically conditionals are missing for:
name: "Create configlets on CVP {{ inventory_hostname }}."
name: "Building Containers topology on {{ inventory_hostname }}"
name: "Configure devices on {{ inventory_hostname }}"
Which component of AVD is impacted
eos_config_deploy_cvp
Use case example
Add additional bool variables to support conditional execution of tasks based on the calling playbook in a similar way to
avd_eos_config_deploy_cvp_execute_configlet_tasks
For example, add an option to apply a false value (default true) to
avd_eos_config_deploy_cvp_build_container
to control execution of v3 taskname: "Building Containers topology on {{ inventory_hostname }}"
Ideally a bool var is defined individually for each of the 3 tasks missing current conditionals:
name: "Create configlets on CVP {{ inventory_hostname }}."
name: "Building Containers topology on {{ inventory_hostname }}"
name: "Configure devices on {{ inventory_hostname }}"
Describe the solution you would like
As an example:
Describe alternatives you have considered
Development efforts should be made to cv_deploy role but this, for me, is a small easy QOL improvement to bridge the gap until I can transition to the cv_deploy role within our playbooks.
Additional context
No response
Contributing Guide
The text was updated successfully, but these errors were encountered: