ansible_vorteil.cloud.vorteil_pull_app_package (0.1.6) — module

Pull a Vorteil app package from a Vorteil.io Repo

| "added in version" 2.10.0 of ansible_vorteil.cloud"

Authors: Wilhelm Wonigkeit (@bigwonig), Jon Alfaro (@jalfvort)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ansible_vorteil.cloud:==0.1.6


Add to requirements.yml

  collections:
    - name: ansible_vorteil.cloud
      version: 0.1.6

Description

Pull a Vorteil app package from a Vorteil.io Repo Package will be saved to the hosts local machine.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Download vorteil app package
  ansible_vorteil.cloud.vorteil_pull_app_package:
    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 }}"
    package_save_location : "{{ var_save_location }}"

Inputs

    
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

package_save_location:
    description:
    - Where to save the app package. This should also include the name of the package
    - E.g. /tmp/helloworld.vorteil
    required: true
    type: str

Outputs

results:
  description:
  - dict of the details of the downloadURL used to download the package and the save
    location.
  returned: success
  sample:
    bucket:
      app:
        latest:
          file:
            downloadURL: URL
    package_save_location: /tmp/helloworld.vorteil
  type: dict