theforeman.foreman.foreman_realm (0.8.1) — module

Manage Foreman Realms

Authors: Lester R Claudio (@claudiol1)

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

Manage Foreman Realms


Requirements

Usage examples

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

Inputs

    
name:
    description:
    - Name of the Foreman realm
    required: true
    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

locations:
    description: List of locations the entity should be assigned to
    elements: str
    type: list

realm_type:
    choices:
    - Red Hat Identity Management
    - FreeIPA
    - Active Directory
    description:
    - Realm type
    required: true
    type: str

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

realm_proxy:
    description:
    - Proxy to use for this realm
    required: true
    type: str

organizations:
    description: List of organizations the entity should be assigned to
    elements: str
    type: list

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