ansible_vorteil / ansible_vorteil.cloud / 0.1.6 / module / vorteil_get_app Get the configuration settings for a specific application in a bucket | "added in version" 2.10.0 of ansible_vorteil.cloud" Authors: Wilhelm Wonigkeit (@bigwonig), Jon Alfaro (@jalfvort) preview | supported by communityansible_vorteil.cloud.vorteil_get_app (0.1.6) — module
Install with ansible-galaxy collection install ansible_vorteil.cloud:==0.1.6
collections: - name: ansible_vorteil.cloud version: 0.1.6
Get the configuration settings for a specific application in a bucket
Configuration settings are passed as an Array in the playbook
Configuration settings can be ['app', 'author', 'programs', 'cpus', 'description', 'diskSize', 'kernel', 'memory', 'summary', 'totalNICs', 'url', 'version']
If no configuration parameters are passed, all are returned
- name: Get the configuration for an application in the repo ansible_vorteil.cloud.vorteil_get_app: repo_key: "{{ var_repo_key }}" repo_address: "{{ var_repo_address }}" repo_port : "{{ var_repo_port }}" repo_proto : "{{ var_repo_proto }}" repo_bucket : "{{ var_bucket }}" repo_app : "{{ var_app }}"
- name: Get the configuration for an application in the repo vorteil_get_app: repo_key: "{{ var_repo_key }}" repo_address: "{{ var_repo_address }}" repo_port : "{{ var_repo_port }}" repo_proto : "{{ var_repo_proto }}" repo_bucket : "{{ var_bucket }}" repo_app : "{{ var_app }}" repo_app_attr: ['app', 'author', 'programs', 'cpus', 'diskSize', 'kernel', 'memory', 'summary']
repo_app: description: - Repo application to query within the bucket required: true type: str repo_key: description: - The access key for the Vorteil.io repo (user specific and generated during user configuration). - Only required if the repo has been configured for authenticated connections. required: false type: str repo_port: description: - Admin port on which the repository is configured to listen (default 7472) required: false type: str repo_proto: choices: - http - https default: http description: - Protocol to use (either http[default] or https) required: false type: str repo_bucket: description: - Repo bucket to query for a list of applications required: true type: str repo_address: description: - FQDN for the Vorteil.io Repository to query - This can be set to "localhost" to connect you a systems local vorteil daemon process. required: true type: str repo_app_attr: description: - App configuration attributes to return. - Configuration settings can be ['app', 'author', 'programs', 'cpus', 'description', 'diskSize', 'kernel', 'memory', 'summary', 'totalNICs', 'url', 'version']. elements: str required: false type: list
results: description: - dict with the list of configuration settings for the app in the specific bucket in the Vorteil repository returned: success sample: app: cockroachdb bucket: Development packageConfig: info: app: CockroachDB author: vorteil.io binaryArgs: null cpus: 1 diskSize: 1024 kernel: 1.0.2 memory: 512 summary: "CockroachDB. Keep your services running and your customers happy\ \ with a database that automatically scales, rebalances, and repairs itself.\ \ And with CockroachDB\u2019s distributed SQL engine and ACID transactions,\ \ your business can grow without ever manually sharding." totalNICs: 0 url: https://www.cockroachlabs.com version: 1.1.5 type: dict