mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-21 16:24:32 +00:00
Since FreeIPA 4.9.8 the 'config_mod' command has parameters to enable
and configure SIDs, and set the Netbios name.
This patch adds the following parameters to ipaconfig plugin:
enable_sids: New users and groups automatically get a SID assigned
add_sids: Add SIDs for existing users and groups
netbios_name: NetBIOS name of the IPA domain
Both add_sids and netbios_name requires 'enable_sid: yes'.
'enable_sid' and 'netbios_name' are returned when querying IPA
configuration.
'add_sids' always generate SIDs for users and groups, so, muiltiple
executions of the playbook with 'add_sids: yes' will return 'changed',
even if users and groups SIDs are not modified.
A new test playbook is available:
tests/config/test_config_sid.yml
New examples playbooks are available:
playbooks/config/change-ipa-domain-netbios-name.yml
playbooks/config/generate-users-groups-sids.yml
Fixes: #781
Related: https://bugzilla.redhat.com/show_bug.cgi?id=2069174
Related: https://bugzilla.redhat.com/show_bug.cgi?id=2069184
19 lines
381 B
YAML
19 lines
381 B
YAML
#
|
|
# Variables must be defined as comma separated lists.
|
|
# For easier management of items to enable/disable,
|
|
# use one test/module on each line, followed by a comma.
|
|
#
|
|
# Example:
|
|
#
|
|
# disabled_modules: >-
|
|
# dnsconfig,
|
|
# group,
|
|
# hostgroup
|
|
#
|
|
---
|
|
variables:
|
|
# ipa_enabled_modules: >-
|
|
# ipa_enabled_tests: >-
|
|
# ipa_disabled_modules: >-
|
|
ipa_disabled_tests: test_config_sid
|