wwt / wwt.ansible_dnac / 1.1.6 / module / dnac_timezone Manage Timezone Settings within Cisco DNA Center | "added in version" 2.5 of wwt.ansible_dnac" Authors: Jeff Andiorio (@jandiorio) preview | supported by communitywwt.ansible_dnac.dnac_timezone (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
Manage Timezone Settings in Cisco DNA Center. Based on 1.1+ version of DNAC API
--- - name: create timezone dnac_timezone: host: "{{host}}" port: "{{port}}" username: "{{username}}" password: "{{password}}" state: present location: 56 weldon parkway, maryland heights, mo
- name: create timezone dnac_timezone: host: "{{host}}" port: "{{port}}" username: "{{username}}" password: "{{password}}" state: present timezone: "America/Chicago"
host: description: - Host is the target Cisco DNA Center controller to execute against. required: true port: choices: - 80 - 443 default: 443 description: - Port is the TCP port for the HTTP connection. required: false state: choices: - present - absent default: present description: - State provides the action to be executed using the terms present, absent, etc. required: false timeout: default: 30 description: - The timeout provides a value for how long to wait for the executed command complete. required: false use_ssl: choices: - true - false default: true description: - Enter the boolean value for whether to use SSL or not. required: false location: description: - address of a location in the timezone. A lookup will be performed to resolve the timezone. required: false type: string password: description: - Provide the password for connection to the Cisco DNA Center Controller. required: true timezone: description: - 'The timezone string matching the timezone you are targeting. example: America/Chicago' required: false type: string username: description: - Provide the username for the connection to the Cisco DNA Center Controller. required: true use_proxy: choices: - true - false default: true description: - Enter a boolean value for whether to use proxy or not. required: false group_name: default: Global description: - Name of the group where the setting will be applied. required: false type: string validate_certs: choices: - true - false default: true description: - Specify if verifying the certificate is desired. required: false
previous: description: Configuration from DNA Center prior to any changes. returned: success sample: - groupUuid: 91404471-9c8d-492c-9c4c-230c7fd54bf9 inheritedGroupName: '' inheritedGroupUuid: '' instanceType: timezone instanceUuid: cae8ced9-eab7-4dae-b1b9-1bd300a58311 key: timezone.site namespace: global type: timezone.setting value: [] version: 2 type: list proprosed: description: Configuration to be sent to DNA Center. returned: success sample: - groupUuid: 91404471-9c8d-492c-9c4c-230c7fd54bf9 instanceType: timezone instanceUuid: '' key: timezone.site namespace: global type: timezone.setting value: - America/Chicago type: list