mirror of
https://github.com/oVirt/ovirt-ansible-infra.git
synced 2026-02-05 09:45:01 +01:00
oVirt AAA JDBC
The oVirt.aaa-jdbc role manages users and groups in an AAA JDBC extension.
Requirements
- Ansible version 2.4
Role Variables
The items in users list can contain the following parameters:
| Name | Default value | Description |
|---|---|---|
| state | present | Specifies whether the user is present or absent. |
| name | UNDEF | Name of the user. |
| authz_name | UNDEF | Authorization provider of the user. |
| password | UNDEF | Password of the user. |
| valid_to | UNDEF | Specifies the date that the account remains valid. |
| attributes | UNDEF | A dict of attributes related to the user. Available attributes:
|
The items in user_groups list can contain the following parameters:
| Name | Default value | Description |
|---|---|---|
| state | present | Specifies whether the group is present or absent. |
| name | UNDEF | Name of the group. |
| authz_name | UNDEF | Authorization provider of the group. |
| users | UNDEF | List of users that belong to this group. |
Dependencies
No.
Example Playbook
- name: oVirt AAA jdbc
hosts: localhost
connection: local
gather_facts: false
vars:
users:
- name: user1
authz_name: internal-authz
password: 1234568
valid_to: "2018-01-01 00:00:00Z"
- name: user2
authz_name: internal-authz
password: 1234568
valid_to: "2018-01-01 00:00:00Z"
attributes:
firstName: 'alice'
department: 'Quality Engineering'
user_groups:
- name: group1
authz_name: internal-authz
users:
- user1
roles:
- ovirt.infra/roles/oVirt.aaa-jdbc
License
Apache License 2.0