theforeman / theforeman.foreman / 4.0.0 / module / external_usergroup Manage External User Groups | "added in version" 1.0.0 of theforeman.foreman" Authors: Kirill Shirinkin (@Fodoj)theforeman.foreman.external_usergroup (4.0.0) — module
Install with ansible-galaxy collection install theforeman.foreman:==4.0.0
collections: - name: theforeman.foreman version: 4.0.0
Create, update, and delete external user groups
- name: Create an external user group theforeman.foreman.external_usergroup: name: test auth_source: "My LDAP server" usergroup: "Internal Usergroup" state: present
- name: Link a group from FreeIPA theforeman.foreman.external_usergroup: name: ipa_users auth_source: "External" usergroup: "Internal Usergroup" state: present
name: description: - Name of the group required: true type: str state: choices: - present - absent default: present description: - State of the entity type: str password: description: - Password of the user accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_PASSWORD) will be used instead. required: true type: str username: description: - Username accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_USERNAME) will be used instead. required: true type: str usergroup: description: - Name of the linked usergroup required: true type: str server_url: description: - URL of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_SERVER_URL) will be used instead. required: true type: str auth_source: aliases: - auth_source_ldap description: - Name of the authentication source to be used for this group required: true type: str validate_certs: default: true description: - Whether or not to verify the TLS certificates of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_VALIDATE_CERTS) will be used instead. type: bool
entity: contains: external_usergroups: description: List of external usergroups. elements: dict type: list description: Final state of the affected entities grouped by their type. returned: success type: dict