effectivelywild.technitium_dns.technitium_dns_change_password module – Change password for the currently logged in user
Note
This module is part of the effectivelywild.technitium_dns collection (version 0.9.1).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install effectivelywild.technitium_dns.
To use it in a playbook, specify: effectivelywild.technitium_dns.technitium_dns_change_password.
New in effectivelywild.technitium_dns 0.5.0
Synopsis
Change the password for the current logged in user account.
Parameters
Parameter |
Comments |
|---|---|
Port for the Technitium DNS API. Defaults to 5380 Default: |
|
API token for authenticating with the Technitium DNS API |
|
Base URL for the Technitium DNS API |
|
The new password for the currently logged in user |
|
Whether to validate SSL certificates when making API requests Choices:
|
See Also
See also
- effectivelywild.technitium_dns.technitium_dns_set_user_details
Set user account details
- effectivelywild.technitium_dns.technitium_dns_get_user_details
Get user account details
- effectivelywild.technitium_dns.technitium_dns_create_user
Create a user account
- effectivelywild.technitium_dns.technitium_dns_list_users
List all users
Examples
- name: Change admin password
technitium_dns_change_password:
api_url: "http://localhost"
api_token: "myapitoken"
pass: "NewSecurePassword123!"
- name: Change password in check mode
technitium_dns_change_password:
api_url: "http://localhost"
api_token: "myapitoken"
pass: "NewSecurePassword123!"
check_mode: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Complete raw API response from Technitium DNS Returned: always |
|
API response status Returned: always Sample: |
|
Whether the module made changes Returned: always Sample: |
|
Whether the module failed Returned: always Sample: |
|
Human readable message describing the result Returned: always Sample: |