ansible_vorteil.cloud.vorteil_provision_injection_uri (0.1.6) — module

Create the configuration injection URI for the provsioning disk build

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

Authors: 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

Create an injection URI to be used for the provisioning disk building process

This is step 1 out of 2 in provisioning the output of disk build process with injection

A build process will be created and returned with a uri, that can be used for injections.

A uuid will also be created and returned to so that the injection can be identified by the build process.

A build process is only satisfied when they have been injected at there created uuid.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: provision the injection URI
  ansible_vorteil.cloud.vorteil_provision_injection_uri:
      repo_address: "{{ var_repo_address }}"
      repo_port: "{{ var_repo_port }}"
      repo_proto: "{{ var_repo_proto }}"
      repo_bucket: '{{ var_bucket }}'
      repo_app: '{{ var_app }}'
      repo_provisioner: "{{ var_repo_provisioner }}"
      repo_image_name: '{{ var_provisioned_image_name }}'

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

repo_image_name:
    description:
    - The name of the built disk that will be provisioned.
    required: true
    type: str

repo_provisioner:
    description:
    - Vorteil provisioner configured at Vorteil Repo
    - Disk will be provisioned to this provisioner
    required: true
    type: str

Outputs

results:
  description:
  - Returns the uri, uuid of the initialized provisioning process, and the job id
    of this process
  - uri is the endpoint of where to inject to and pull from.
  - uuid is the unique identifer used to set the target of where to inject a configuration
    to.
  returned: success
  sample:
    provision:
      job:
        id: job-sqtonz
      uri: eqiefQJhbpwxvtCPqIxeVCsqPsSBzyWWyOTIWjjDLujhVBGYnEBGTQFusIZuzUqX
      uuid: d8b43d43-d9b1-4f21-8397-74347022edcf
  type: dict