infra.eda_configuration.decision_environment (1.1.0) — module

Manage a Decision Environment in EDA Controller

Authors: Derek Waters (@derekwaters)

preview | supported by community

Install collection

Install with ansible-galaxy collection install infra.eda_configuration:==1.1.0


Add to requirements.yml

  collections:
    - name: infra.eda_configuration
      version: 1.1.0

Description

Create, update and delete decision environments in EDA Controller

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create eda decision environment
  infra.eda_configuration.decision_environment:
    name: my_de
    description: my awesome decision environment
    image_url: my-container_registry/ansible/de-minimal-8:latest
    credential: registry_access_token
    state: present
    eda_host: eda.example.com
    eda_username: admin
    eda_password: Sup3r53cr3t

Inputs

    
name:
    description:
    - The name of the decision environment.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Desired state of the resource.
    type: str

eda_host:
    aliases:
    - eda_hostname
    description:
    - URL to Ansible Galaxy or EDA Controller instance.
    - If value not set, will try environment variable C(EDA_HOST)
    - If value not specified by any means, the value of C(127.0.0.1) will be used
    type: str

new_name:
    description:
    - Setting this option will change the existing name (looked up via the name field).
    type: str

eda_token:
    description:
    - The Ansible Galaxy or EDA Controller API token to use.
    - This value can be in one of two formats.
    - A string which is the token itself. (i.e. bqV5txm97wqJqtkxlMkhQz0pKhRMMX)
    - A dictionary structure as returned by the eda_token module.
    - If value not set, will try environment variable C(EDA_API_TOKEN)
    type: raw

image_url:
    description:
    - The full image location to use for the decision environment, including the container
      registry, image name, and version tag.
    required: true
    type: str

credential:
    description:
    - The token needed to access the container registry, if required.
    required: false
    type: str

description:
    description:
    - The description of the decision environment.
    required: false
    type: str

eda_password:
    description:
    - Password for your Ansible Galaxy or EDA Controller instance.
    - If value not set, will try environment variable C(EDA_PASSWORD)
    type: str

eda_username:
    description:
    - Username for your Ansible Galaxy or EDA Controller instance.
    - If value not set, will try environment variable C(EDA_USERNAME)
    type: str

validate_certs:
    aliases:
    - eda_verify_ssl
    description:
    - Whether to allow insecure connections to Galaxy or EDA Controller Server.
    - If C(no), SSL certificates will not be validated.
    - This should only be used on personally controlled sites using self-signed certificates.
    - If value not set, will try environment variable C(EDA_VERIFY_SSL)
    type: bool

request_timeout:
    description:
    - Specify the timeout Ansible should use in requests to the Galaxy or EDA Controller
      host.
    - Defaults to 10s, but this is handled by the shared module_utils code
    type: float