Skip to content

Role configuration

Role configuration settings can be set either as regular inventory variables or directly as task_vars on the import_role task.

Input Variables Validation settings

Variable Type Required Default Value Restrictions Description
avd_data_conversion_mode String debug Valid Values:
- disabled
- error
- warning
- info
- debug
- quiet
Conversion Mode for AVD input data conversion.
Input data conversion will perform type conversion of input variables as defined in the schema.
The type conversion is intended to help the user to identify minor issues with the input data, while still allowing the data to be validated.
During conversion, messages will generated with information about the host(s) and key(s) which required conversion.
“disabled” means that conversion will not run - avoid this since conversion is also handling data deprecation and upgrade.
“error” will produce error messages and fail the task.
“warning” will produce warning messages.
“info” will produce regular log messages.
“debug” will produce hidden debug messages viewable with -v.
“quiet” will not produce any messages
avd_data_validation_mode String warning Valid Values:
- disabled
- error
- warning
- info
- debug
Validation Mode for AVD input data validation.
Input data validation will validate the input variables according to the schema.
During validation, messages will generated with information about the host(s) and key(s) which failed validation.
“disabled” means that validation will not run.
“error” will produce error messages and fail the task.
“warning” will produce warning messages.
“info” will produce regular log messages.
“debug” will produce hidden debug messages viewable with -v.
avd_data_conversion_mode: <str>
avd_data_validation_mode: <str>

Documentation output settings

The documentation_output settings can be leveraged to control documentation generation. This can be useful if for instance the project has thousands of endpoints, to be able to disable fabric-wide connected endpoints documentation.

Variable Type Required Default Value Restrictions Description
eos_designs_documentation Dictionary Control fabric documentation generation.
  connected_endpoints Boolean False Generate fabric-wide documentation for connected endpoints.
eos_designs_documentation:
  connected_endpoints: <bool>

Custom Templates

Variable Type Required Default Value Restrictions Description
eos_designs_custom_templates List, items: Dictionary
  - template String Required Template file.
    options Dictionary Template options.
      list_merge String append_rp Merge strategy for lists.
      strip_empty_keys Boolean True Filter out keys from the generated output if value is null/none/undefined.
eos_designs_custom_templates:
  - template: <str>
    options:
      list_merge: <str>
      strip_empty_keys: <bool>

Last update: June 13, 2023