cisco.dnac.template_deploy – Manage TemplateDeploy objects of ConfigurationTemplates¶
Note
This plugin is part of the cisco.dnac collection (version 2.0.7).
To install it use: ansible-galaxy collection install cisco.dnac
.
To use it in a playbook, specify: cisco.dnac.template_deploy
.
New in version 1.0.0: of cisco.dnac
Synopsis¶
Deploys a template.
Returns the status of a deployed template.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.dnac.plugins.module_utils.definitions.template_deploy
The official documentation on the cisco.dnac.plugins.module_utils.definitions.template_deploy module.
- TemplateDeploy reference
Complete reference of the TemplateDeploy object model.
- TemplateDeploy reference
SDK reference.
Examples¶
- name: deploy_template
cisco.dnac.template_deploy:
state: create # required
forcePushTemplate: True # boolean
isComposite: True # boolean
mainTemplateId: SomeValue # string
memberTemplateDeploymentInfo: None
targetInfo:
- hostName: SomeValue # string
id: SomeValue # string
params:
type: SomeValue # string
templateId: SomeValue # string
- name: get_template_deployment_status
cisco.dnac.template_deploy:
state: query # required
deployment_id: SomeValue # string, required
register: nm_get_template_deployment_status
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Rafael Campos (@racampos)