wwt / wwt.ansible_dnac / 1.1.6 / module / dnac_cli_credential Add or Delete Global CLI credentials | "added in version" 2.5 of wwt.ansible_dnac" Authors: Jeff Andiorio (@jandiorio) preview | supported by communitywwt.ansible_dnac.dnac_cli_credential (1.1.6) — module
Install with ansible-galaxy collection install wwt.ansible_dnac:==1.1.6
collections: - name: wwt.ansible_dnac version: 1.1.6
Add or Delete Global CLI Credentials in Cisco DNA Center Controller. \ These credentials can be created at any level in the hierarchy.\ This module creates the credential at the specified level of hierarchy only. * Assigning the \ credential as active in the Design Workflow will be handled in the \ dnac_assign_credential module.
--- - name: create a user dnac_cli_credential: host: "{{host}}" port: 443 username: "{{username}}" password: "{{password}}" state: present cli_user: "cisco" cli_password: "cisco" cli_enable_password: "your_password" cli_desc: "User Description" cli_comments: "some comments"
host: description: - Host is the target Cisco DNA Center controller to execute against. required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac port: choices: - 80 - 443 default: 443 description: - Port is the TCP port for the HTTP connection. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac state: choices: - present - absent default: present description: - State provides the action to be executed using the terms present, absent, etc. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac timeout: default: 30 description: - The timeout provides a value for how long to wait for the executed command complete. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac use_ssl: choices: - true - false default: true description: - Enter the boolean value for whether to use SSL or not. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac cli_desc: description: - cli_desc is a friendly description of the CLI credential being created. required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac cli_user: description: - Global CLI username to be manipulated required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac password: description: - Provide the password for connection to the Cisco DNA Center Controller. required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac username: description: - Provide the username for the connection to the Cisco DNA Center Controller. required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac use_proxy: choices: - true - false default: true description: - Enter a boolean value for whether to use proxy or not. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac group_name: default: Global description: - group_name is the name of the group in the hierarchy where you would like to apply the banner. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac cli_comments: description: - cli_comments is space for any additional information about the CLI credential. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac cli_password: description: - Provide the Global CLI password to associate with the CLI username being created. required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac validate_certs: choices: - true - false default: true description: - Specify if verifying the certificate is desired. required: false version_added: '2.5' version_added_collection: wwt.ansible_dnac cli_enable_password: description: - Provide a value for the CLI Enable password. required: true version_added: '2.5' version_added_collection: wwt.ansible_dnac