community.general.clc_blueprint_package (8.5.0) — module

Deploys a blue print package on a set of servers in CenturyLink Cloud

Authors: CLC Runner (@clc-runner)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

An Ansible module to deploy blue print package on a set of servers in CenturyLink Cloud.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Note - You must set the CLC_V2_API_USERNAME And CLC_V2_API_PASSWD Environment variables before running these examples

- name: Deploy package
  community.general.clc_blueprint_package:
        server_ids:
            - UC1TEST-SERVER1
            - UC1TEST-SERVER2
        package_id: 77abb844-579d-478d-3955-c69ab4a7ba1a
        package_params: {}

Inputs

    
wait:
    default: 'True'
    description:
    - Whether to wait for the tasks to finish before returning.
    required: false
    type: str

state:
    choices:
    - present
    default: present
    description:
    - Whether to install or uninstall the package. Currently it supports only "present"
      for install action.
    required: false
    type: str

package_id:
    description:
    - The package id of the blue print.
    required: true
    type: str

server_ids:
    description:
    - A list of server Ids to deploy the blue print package.
    elements: str
    required: true
    type: list

package_params:
    default: {}
    description:
    - The dictionary of arguments required to deploy the blue print.
    required: false
    type: dict

Outputs

server_ids:
  description: The list of server ids that are changed
  returned: success
  sample:
  - UC1TEST-SERVER1
  - UC1TEST-SERVER2
  type: list