effectivelywild.technitium_dns.technitium_dns_download_and_install_app module – Download and install an app
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_download_and_install_app.
New in effectivelywild.technitium_dns 0.9.0
Synopsis
Download an app zip file from a given URL and install it on the DNS server.
The URL must start with
https://.
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 name of the app to install |
|
The URL of the app zip file URL must start with |
|
Whether to validate SSL certificates when making API requests. Choices:
|
See Also
See also
- effectivelywild.technitium_dns.technitium_dns_list_apps
List all installed apps
- effectivelywild.technitium_dns.technitium_dns_list_store_apps
List all available apps from the DNS App Store
- effectivelywild.technitium_dns.technitium_dns_download_and_update_app
Download and update an existing app
- effectivelywild.technitium_dns.technitium_dns_uninstall_app
Uninstall an app from the DNS server
Examples
- name: Download and install Wild IP app
technitium_dns_download_and_install_app:
api_url: "http://localhost"
api_token: "myapitoken"
name: "Wild IP"
url: "https://download.technitium.com/dns/apps/WildIpApp.zip"
register: result
- debug:
var: result.installed_app
- name: Install app from DNS App Store
technitium_dns_download_and_install_app:
api_url: "http://localhost"
api_token: "myapitoken"
name: "Geo Continent"
url: "https://download.technitium.com/dns/apps/GeoContinentApp.zip"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Whether the module made changes Returned: always Sample: |
|
Whether the module failed Returned: always Sample: |
|
Information about the installed app Returned: success |
|
List of DNS application components Returned: always |
|
Class path of the DNS app component Returned: always Sample: |
|
Description of the DNS app component Returned: always Sample: |
|
Whether this is an APP record request handler Returned: always Sample: |
|
Whether this is an authoritative request handler Returned: always Sample: |
|
Whether this is a post processor Returned: always Sample: |
|
Whether this is a query logger Returned: always Sample: |
|
Whether this is a request blocking handler Returned: always Sample: |
|
Whether this is a request controller Returned: always Sample: |
|
Name of the installed app Returned: always Sample: |
|
Version of the installed app Returned: always Sample: |
|
Human-readable message about the operation Returned: always Sample: |