theforeman.foreman.katello_lifecycle_environment (0.8.1) — module

Create and Manage Katello lifecycle environments

Authors: Andrew Kofink (@akofink), Baptiste Agasse (@bagasse)

preview | supported by community

Install collection

Install with ansible-galaxy collection install theforeman.foreman:==0.8.1


Add to requirements.yml

  collections:
    - name: theforeman.foreman
      version: 0.8.1

Description

Create and Manage Katello lifecycle environments


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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"

Inputs

    
name:
    description:
    - Name of the lifecycle environment
    required: true
    type: str

label:
    description:
    - Label of the lifecycle environment. This field cannot be updated.
    type: str

prior:
    description:
    - Name of the parent lifecycle environment
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the entity in Foreman
    type: str

password:
    description: Password of the user accessing the Foreman server
    required: true
    type: str

username:
    description: Username accessing the Foreman server
    required: true
    type: str

server_url:
    description: URL of the Foreman server
    required: true
    type: str

description:
    description:
    - Description of the lifecycle environment
    type: str

organization:
    description:
    - Organization that the entity is in
    required: true
    type: str

validate_certs:
    aliases:
    - verify_ssl
    default: true
    description: Whether or not to verify the TLS certificates of the Foreman server
    type: bool