effectivelywild.technitium_dns.technitium_dns_list_store_apps module – List all available apps from Technitium DNS App Store
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_list_store_apps.
New in effectivelywild.technitium_dns 0.9.0
Synopsis
Retrieve a list of all available apps from the DNS App Store.
Indicates which apps are already installed and if updates are available.
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 |
|
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 from the DNS server
- effectivelywild.technitium_dns.technitium_dns_download_and_install_app
Download and install an app from a URL
- effectivelywild.technitium_dns.technitium_dns_download_and_update_app
Download and update an app from a URL
Examples
- name: List all available apps from DNS App Store
technitium_dns_list_store_apps:
api_url: "http://localhost"
api_token: "myapitoken"
register: result
- debug:
var: result.store_apps
- name: Find apps that have updates available
technitium_dns_list_store_apps:
api_url: "http://localhost"
api_token: "myapitoken"
register: store_apps_result
- name: Show apps with updates
debug:
msg: "App {{ item.name }} has update from {{ item.installedVersion }} to {{ item.version }}"
loop: "{{ store_apps_result.store_apps | selectattr('updateAvailable', 'equalto', true) | list }}"
when: store_apps_result.store_apps | selectattr('updateAvailable', 'equalto', true) | list | length > 0
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Whether the module made changes (always false for list operations) Returned: always Sample: |
|
Whether the module failed Returned: always Sample: |
|
List of available apps from the DNS App Store Returned: always |
|
Description of the app Returned: always Sample: |
|
Whether the app is currently installed Returned: always Sample: |
|
Currently installed version (only if installed=true) Returned: when installed Sample: |
|
Name of the app Returned: always Sample: |
|
Size of the app package Returned: always Sample: |
|
Whether an update is available (only if installed=true) Returned: when installed Sample: |
|
Download URL for the app Returned: always Sample: |
|
Latest version available in the store Returned: always Sample: |