foreman_realm – Manage Foreman Realms

Synopsis

  • Manage Foreman Realms

Requirements

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

  • apypie

Parameters

Parameter Choices/Defaults Comments
locations
list / elements=string
List of locations the entity should be assigned to
name
string / required
Name of the Foreman realm
organizations
list / elements=string
List of organizations the entity should be assigned to
password
string / required
Password of the user accessing the Foreman server
realm_proxy
string / required
Proxy to use for this realm
realm_type
string / required
    Choices:
  • Red Hat Identity Management
  • FreeIPA
  • Active Directory
Realm type
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: "Create EXAMPLE.LOCAL Realm"
  foreman_realm:
    username: "admin"
    password: "changeme"
    server_url: "https://foreman.example.com"
    name: "EXAMPLE.COM"
    realm_proxy: "foreman.example.com"
    realm_type: "Red Hat Identity Management"
    state: present

Status

Authors

  • Lester R Claudio (@claudiol1)

Hint

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