.. Document meta :orphan: .. |antsibull-internal-nbsp| unicode:: 0xA0 :trim: .. role:: ansible-attribute-support-label .. role:: ansible-attribute-support-property .. role:: ansible-attribute-support-full .. role:: ansible-attribute-support-partial .. role:: ansible-attribute-support-none .. role:: ansible-attribute-support-na .. role:: ansible-option-type .. role:: ansible-option-elements .. role:: ansible-option-required .. role:: ansible-option-versionadded .. role:: ansible-option-aliases .. role:: ansible-option-choices .. role:: ansible-option-choices-default-mark .. role:: ansible-option-default-bold .. role:: ansible-option-configuration .. role:: ansible-option-returned-bold .. role:: ansible-option-sample-bold .. Anchors .. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title cisco.dnac.network_settings_playbook_config_generator module -- Generate YAML playbook for 'network\_settings\_workflow\_manager' module. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This module is part of the `cisco.dnac collection `_ (version 6.49.0). To install it, use: :code:`ansible-galaxy collection install cisco.dnac`. You need further requirements to be able to use this module, see :ref:`Requirements ` for details. To use it in a playbook, specify: :code:`cisco.dnac.network_settings_playbook_config_generator`. .. version_added .. rst-class:: ansible-version-added New in cisco.dnac 6.44.0 .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - Generates YAML configurations compatible with the \`network\_settings\_workflow\_manager\` module, reducing the effort required to manually create Ansible playbooks and enabling programmatic modifications. - The YAML configurations generated represent the global pools, reserve pools, network management settings, device controllability settings, and AAA settings configured on the Cisco Catalyst Center. - Supports extraction of Global IP Pools, Reserve IP Pools, Network Management, Device Controllability, and AAA Settings configurations. .. Aliases .. Requirements .. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module_requirements: Requirements ------------ The below requirements are needed on the host that executes this module. - dnacentersdk \>= 2.10.10 - python \>= 3.9 .. Options Parameters ---------- .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Parameter - Comments * - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config: .. rst-class:: ansible-option-title **config** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A dictionary of filters for generating YAML playbook compatible with the \`network\_settings\_workflow\_manager\` module. If not provided, module runs internal auto-discovery for all supported components. If provided, only \ :literal:`component\_specific\_filters`\ is accepted. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters: .. rst-class:: ansible-option-title **component_specific_filters** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
Filters to specify which network settings components and features to include in the YAML configuration file. Allows granular selection of specific components and their parameters. Mandatory when \ :literal:`config`\ is provided. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/components_list: .. rst-class:: ansible-option-title **components_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
List of components to include in the YAML configuration file. Valid values are ["global\_pool\_details", "reserve\_pool\_details", "network\_management\_details", "device\_controllability\_details"] If omitted, components are inferred from provided component filter blocks. If a component filter block is provided but the component is missing in \ :literal:`components\_list`\ , the module auto-adds it internally. Example ["global\_pool\_details", "reserve\_pool\_details", "network\_management\_details"] .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`"global\_pool\_details"` - :ansible-option-choices-entry:`"reserve\_pool\_details"` - :ansible-option-choices-entry:`"network\_management\_details"` - :ansible-option-choices-entry:`"device\_controllability\_details"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/device_controllability_details: .. rst-class:: ansible-option-title **device_controllability_details** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
Device controllability settings to filter by site. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/global_pool_details: .. rst-class:: ansible-option-title **global_pool_details** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
Filter criteria for Global IP Pools. Each list item is a filter dict. Within each filter dict, all keys use \ :strong:`AND`\ logic (e.g., \ :literal:`pool\_name`\ AND \ :literal:`pool\_type`\ must both match). Across filter dicts, \ :strong:`OR`\ logic is applied (a pool is included if it matches ANY filter dict). Example: \ :literal:`- pool\_name: X, pool\_type: LAN`\ and \ :literal:`- pool\_name: Y, pool\_type: Generic`\ will include pools matching (name=X AND type=LAN) OR (name=Y AND type=Generic). If \ :literal:`global\_pool\_details`\ sub-filter is not provided under \ :literal:`component\_specific\_filters`\ , all global pools are included. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/global_pool_details/pool_name: .. rst-class:: ansible-option-title **pool_name** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
IP Pool name to filter global pools by exact name match. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/global_pool_details/pool_type: .. rst-class:: ansible-option-title **pool_type** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Pool type to filter global pools by type (Generic, Tunnel). .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`"Generic"` - :ansible-option-choices-entry:`"Tunnel"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/network_management_details: .. rst-class:: ansible-option-title **network_management_details** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
Network management settings to filter by site. If \ :literal:`network\_management\_details`\ sub-filter is not provided under \ :literal:`component\_specific\_filters`\ , the module defaults to retrieving settings for the \ :strong:`Global`\ (root) site only. To retrieve settings for specific sites, provide a \ :literal:`site\_name\_list`\ with the desired site names. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/network_management_details/site_name_list: .. rst-class:: ansible-option-title **site_name_list** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=string` .. raw:: html
- .. raw:: html
List of site names to filter network management settings by site. Each site name must be the full hierarchy path (e.g., \ :literal:`Global/USA`\ , \ :literal:`Global/USA/California`\ ). If not provided, defaults to the \ :strong:`Global`\ (root) site only. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/reserve_pool_details: .. rst-class:: ansible-option-title **reserve_pool_details** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`list` / :ansible-option-elements:`elements=dictionary` .. raw:: html
- .. raw:: html
Reserve IP Pools to filter by pool name, site, site hierarchy, or pool type. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/reserve_pool_details/site_hierarchy: .. rst-class:: ansible-option-title **site_hierarchy** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Site hierarchy path to filter reserve pools by all child sites under the hierarchy. For example, "Global/USA" will include all sites under USA like "Global/USA/California", "Global/USA/New York", etc. This allows bulk extraction of reserve pools from multiple sites under a hierarchy. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-config/component_specific_filters/reserve_pool_details/site_name: .. rst-class:: ansible-option-title **site_name** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Site name to filter reserve pools by specific site. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_api_task_timeout: .. rst-class:: ansible-option-title **dnac_api_task_timeout** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Defines the timeout in seconds for API calls to retrieve task details. If the task details are not received within this period, the process will end, and a timeout notification will be logged. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`1200` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_debug: .. rst-class:: ansible-option-title **dnac_debug** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Indicates whether debugging is enabled in the Cisco Catalyst Center SDK. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_host: .. rst-class:: ansible-option-title **dnac_host** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` / :ansible-option-required:`required` .. raw:: html
- .. raw:: html
The hostname of the Cisco Catalyst Center. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_log: .. rst-class:: ansible-option-title **dnac_log** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag to enable/disable playbook execution logging. When true and dnac\_log\_file\_path is provided, - Create the log file at the execution location with the specified name. When true and dnac\_log\_file\_path is not provided, - Create the log file at the execution location with the name 'dnac.log'. When false, - Logging is disabled. If the log file doesn't exist, - It is created in append or write mode based on the "dnac\_log\_append" flag. If the log file exists, - It is overwritten or appended based on the "dnac\_log\_append" flag. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`false` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`true` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_log_append: .. rst-class:: ansible-option-title **dnac_log_append** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Determines the mode of the file. Set to True for 'append' mode. Set to False for 'write' mode. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_log_file_path: .. rst-class:: ansible-option-title **dnac_log_file_path** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Governs logging. Logs are recorded if dnac\_log is True. If path is not specified, - When 'dnac\_log\_append' is True, 'dnac.log' is generated in the current Ansible directory; logs are appended. - When 'dnac\_log\_append' is False, 'dnac.log' is generated; logs are overwritten. If path is specified, - When 'dnac\_log\_append' is True, the file opens in append mode. - When 'dnac\_log\_append' is False, the file opens in write (w) mode. - In shared file scenarios, without append mode, content is overwritten after each module execution. - For a shared log file, set append to False for the 1st module (to overwrite); for subsequent modules, set append to True. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"dnac.log"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_log_level: .. rst-class:: ansible-option-title **dnac_log_level** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Sets the threshold for log level. Messages with a level equal to or higher than this will be logged. Levels are listed in order of severity [CRITICAL, ERROR, WARNING, INFO, DEBUG]. CRITICAL indicates serious errors halting the program. Displays only CRITICAL messages. ERROR indicates problems preventing a function. Displays ERROR and CRITICAL messages. WARNING indicates potential future issues. Displays WARNING, ERROR, CRITICAL messages. INFO tracks normal operation. Displays INFO, WARNING, ERROR, CRITICAL messages. DEBUG provides detailed diagnostic info. Displays all log messages. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"WARNING"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_password: .. rst-class:: ansible-option-title **dnac_password** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The password for authentication at the Cisco Catalyst Center. .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_port: .. rst-class:: ansible-option-title **dnac_port** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Specifies the port number associated with the Cisco Catalyst Center. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"443"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_task_poll_interval: .. rst-class:: ansible-option-title **dnac_task_poll_interval** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`integer` .. raw:: html
- .. raw:: html
Specifies the interval in seconds between successive calls to the API to retrieve task details. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`2` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_username: .. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-user: .. rst-class:: ansible-option-title **dnac_username** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-aliases:`aliases: user` .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The username for authentication at the Cisco Catalyst Center. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"admin"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_verify: .. rst-class:: ansible-option-title **dnac_verify** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag to enable or disable SSL certificate verification. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-dnac_version: .. rst-class:: ansible-option-title **dnac_version** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Specifies the version of the Cisco Catalyst Center that the SDK should use. .. rst-class:: ansible-option-line :ansible-option-default-bold:`Default:` :ansible-option-default:`"2.2.3.3"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-file_mode: .. rst-class:: ansible-option-title **file_mode** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Controls how config is written to the YAML file. \ :literal:`overwrite`\ replaces existing file content. \ :literal:`append`\ appends generated YAML content to the existing file. Relevant only when \ :literal:`file\_path`\ is provided. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`"overwrite"` :ansible-option-choices-default-mark:`← (default)` - :ansible-option-choices-entry:`"append"` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-file_path: .. rst-class:: ansible-option-title **file_path** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
Path where the YAML configuration file will be saved. If not provided, the file will be saved in the current working directory with a default file name \ :literal:`network\_settings\_playbook\_config\_\.yml`\ . For example, \ :literal:`network\_settings\_playbook\_config\_2026-01-24\_12-33-20.yml`\ . .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-state: .. rst-class:: ansible-option-title **state** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`string` .. raw:: html
- .. raw:: html
The desired state of Cisco Catalyst Center after module execution. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry-default:`"gathered"` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__parameter-validate_response_schema: .. rst-class:: ansible-option-title **validate_response_schema** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`boolean` .. raw:: html
- .. raw:: html
Flag for Cisco Catalyst Center SDK to enable the validation of request bodies against a JSON schema. .. rst-class:: ansible-option-line :ansible-option-choices:`Choices:` - :ansible-option-choices-entry:`false` - :ansible-option-choices-entry-default:`true` :ansible-option-choices-default-mark:`← (default)` .. raw:: html
.. Attributes .. Notes Notes ----- .. note:: - SDK Methods used are - sites.Sites.get\_site - network\_settings.NetworkSettings.retrieves\_global\_ip\_address\_pools - network\_settings.NetworkSettings.retrieves\_ip\_address\_subpools - network\_settings.NetworkSettings.retrieve\_d\_h\_c\_p\_settings\_for\_a\_site - network\_settings.NetworkSettings.retrieve\_d\_n\_s\_settings\_for\_a\_site - network\_settings.NetworkSettings.retrieve\_telemetry\_settings\_for\_a\_site - network\_settings.NetworkSettings.retrieve\_n\_t\_p\_settings\_for\_a\_site - network\_settings.NetworkSettings.retrieve\_time\_zone\_settings\_for\_a\_site - network\_settings.NetworkSettings.retrieve\_aaa\_settings\_for\_a\_site - network\_settings.NetworkSettings.retrieve\_banner\_settings\_for\_a\_site - network\_settings.NetworkSettings.get\_device\_controllability\_settings - Paths used are - GET /dna/intent/api/v1/sites - GET /dna/intent/api/v1/ipam/globalIpAddressPools - GET /dna/intent/api/v1/ipam/siteIpAddressPools - GET /dna/intent/api/v1/sites/{id}/dhcpSettings - GET /dna/intent/api/v1/sites/{id}/dnsSettings - GET /dna/intent/api/v1/sites/{id}/telemetrySettings - GET /dna/intent/api/v1/sites/{id}/ntpSettings - GET /dna/intent/api/v1/sites/{id}/timeZoneSettings - GET /dna/intent/api/v1/sites/{id}/aaaSettings - GET /dna/intent/api/v1/sites/{id}/bannerSettings - GET /dna/intent/api/v1/networkDevices/deviceControllability/settings - Does not support \ :literal:`check\_mode`\ - The plugin runs on the control node and does not use any ansible connection plugins instead embedded connection manager from Cisco Catalyst Center SDK - The parameters starting with dnac\_ are used by the Cisco Catalyst Center Python SDK to establish the connection .. Seealso .. Examples Examples -------- .. code-block:: yaml+jinja # Auto-discovery mode: config omitted, all supported components discovered internally. - name: Generate YAML Configuration with auto-discovery cisco.dnac.network_settings_playbook_config_generator: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" dnac_log: true dnac_log_level: "{{dnac_log_level}}" state: gathered # Filtered mode: config provided with required component_specific_filters. - name: Generate YAML Configuration for selected components cisco.dnac.network_settings_playbook_config_generator: dnac_host: "{{dnac_host}}" dnac_username: "{{dnac_username}}" dnac_password: "{{dnac_password}}" dnac_verify: "{{dnac_verify}}" dnac_port: "{{dnac_port}}" dnac_version: "{{dnac_version}}" dnac_debug: "{{dnac_debug}}" dnac_log: true dnac_log_level: "{{dnac_log_level}}" state: gathered file_path: "/tmp/network_settings_config.yml" file_mode: "overwrite" config: component_specific_filters: components_list: - "global_pool_details" - "reserve_pool_details" global_pool_details: - pool_name: "Global_Pool_1" pool_type: "Generic" reserve_pool_details: - site_name: "Global/USA" .. Facts .. Return values Return Values ------------- Common return values are documented :ref:`here `, the following are the fields unique to this module: .. rst-class:: ansible-option-table .. list-table:: :width: 100% :widths: auto :header-rows: 1 * - Key - Description * - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__return-response_1: .. rst-class:: ansible-option-title **response_1** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A dictionary with the response returned by the Cisco Catalyst Center Python SDK .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`{"msg": "YAML config generation succeeded for module 'network\_settings\_workflow\_manager'.", "response": {"configurations\_generated": 15, "file\_path": "/tmp/network\_settings\_config.yml", "message": "YAML config generation succeeded for module 'network\_settings\_workflow\_manager'.", "operation\_summary": {"failure\_details": [{"component": "network\_management\_details", "error\_info": {"error\_code": "NETWORK\_MGMT\_NOT\_CONFIGURED", "error\_message": "Network management not configured for this site", "error\_type": "api\_error"}, "site\_name": "Global/USA/NewYork", "status": "failed"}], "sites\_with\_complete\_failure": [], "sites\_with\_complete\_success": ["Global/India/Mumbai", "Global/India/Delhi"], "sites\_with\_partial\_success": ["Global/USA/NewYork"], "success\_details": [{"component": "global\_pool\_details", "pools\_processed": 5, "site\_name": "Global/India/Mumbai", "status": "success"}], "total\_components\_processed": 25, "total\_failed\_operations": 3, "total\_sites\_processed": 3, "total\_successful\_operations": 22}}}` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__return-response_2: .. rst-class:: ansible-option-title **response_2** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A dictionary with the response when no configurations are found .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`{"msg": "No configurations or components to process for module 'network\_settings\_workflow\_manager'. Verify input filters or configuration.", "response": {"message": "No configurations or components to process for module 'network\_settings\_workflow\_manager'. Verify input filters or configuration.", "operation\_summary": {"failure\_details": [], "sites\_with\_complete\_failure": [], "sites\_with\_complete\_success": [], "sites\_with\_partial\_success": [], "success\_details": [], "total\_components\_processed": 0, "total\_failed\_operations": 0, "total\_sites\_processed": 0, "total\_successful\_operations": 0}}}` .. raw:: html
* - .. raw:: html
.. _ansible_collections.cisco.dnac.network_settings_playbook_config_generator_module__return-response_3: .. rst-class:: ansible-option-title **response_3** .. raw:: html .. rst-class:: ansible-option-type-line :ansible-option-type:`dictionary` .. raw:: html
- .. raw:: html
A dictionary with error details when YAML generation fails .. rst-class:: ansible-option-line :ansible-option-returned-bold:`Returned:` always .. rst-class:: ansible-option-line .. rst-class:: ansible-option-sample :ansible-option-sample-bold:`Sample:` :ansible-rv-sample-value:`{"msg": "YAML config generation failed for module 'network\_settings\_workflow\_manager'.", "response": {"file\_path": "/tmp/network\_settings\_config.yml", "message": "YAML config generation failed for module 'network\_settings\_workflow\_manager'.", "operation\_summary": {"failure\_details": [{"component": "global\_pool\_details", "error\_info": {"error\_code": "SITE\_NOT\_FOUND", "error\_message": "Site not found or not accessible", "error\_type": "site\_not\_found"}, "site\_name": "Global/USA/NewYork", "status": "failed"}], "sites\_with\_complete\_failure": ["Global/USA/NewYork"], "sites\_with\_complete\_success": [], "sites\_with\_partial\_success": ["Global/India/Mumbai"], "success\_details": [], "total\_components\_processed": 10, "total\_failed\_operations": 5, "total\_sites\_processed": 2, "total\_successful\_operations": 5}}}` .. raw:: html
.. Status (Presently only deprecated) .. Authors Authors ~~~~~~~ - Megha Kandari (@kandarimegha) - Madhan Sankaranarayanan (@madhansansel) .. Extra links Collection links ~~~~~~~~~~~~~~~~ .. raw:: html .. Parsing errors