theforeman.foreman.foreman_external_usergroup (0.8.1) — module

Manage external user groups in Foreman

Authors: Kirill Shirinkin (@Fodoj)

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 delete external user groups in Foreman


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create an external user group
  foreman_external_usergroup:
    name: test
    auth_source_ldap: "My LDAP server"
    usergroup: "Internal Usergroup"
    state: present

Inputs

    
name:
    description:
    - Name of the group
    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

usergroup:
    description:
    - Name of the linked usergroup
    required: true
    type: str

server_url:
    description: URL of the Foreman server
    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

auth_source_ldap:
    description:
    - Name of the authentication source to be used for this group
    required: true
    type: str