katello_lifecycle_environment – Create and Manage Katello lifecycle environments

Synopsis

  • Create and Manage Katello lifecycle environments

Requirements

The below requirements are needed on the host that executes this module.

  • apypie

Parameters

Parameter Choices/Defaults Comments
description
string
Description of the lifecycle environment
label
string
Label of the lifecycle environment. This field cannot be updated.
name
string / required
Name of the lifecycle environment
organization
string / required
Organization that the entity is in
password
string / required
Password of the user accessing the Foreman server
prior
string
Name of the parent lifecycle environment
server_url
string / required
URL of the Foreman server
state
string
    Choices:
  • present ←
  • absent
State of the entity in Foreman
username
string / required
Username accessing the Foreman server
validate_certs
boolean
    Choices:
  • no
  • yes ←
Whether or not to verify the TLS certificates of the Foreman server

aliases: verify_ssl

Examples

- name: "Add a production lifecycle environment"
  katello_lifecycle_environment:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    name: "Production"
    label: "production"
    organization: "Default Organization"
    prior: "Library"
    description: "The production environment"
    state: "present"

Status

Authors

  • Andrew Kofink (@akofink)

  • Baptiste Agasse (@bagasse)

Hint

If you notice any issues in this documentation, you can edit this document to improve it.