- May 23, 2024
-
-
Rafael Guterres Jeffman authored
Use batch command internally
-
- May 22, 2024
-
-
Thomas Woerner authored
The use of the batch command is enabled for execute_ipa_commands. Additionally keeponly is set to ["randompassword"] as this is the only parameter that is used from the data returned from the commands.
-
Thomas Woerner authored
The use of the batch command is enabled for execute_ipa_commands. Additionally keeponly is set to [] as nothing is used from the data returned from the commands.
-
Thomas Woerner authored
The use of the batch command is enabled for execute_ipa_commands. Additionally keeponly is set to [] as nothing is used from the data returned from the commands.
-
Thomas Woerner authored
The use of the batch command is enabled for execute_ipa_commands. Additionally keeponly is set to ["randompassword"] as this is the only parameter that is used from the data returned from the commands.
-
Thomas Woerner authored
The method execute_ipa_commands has been extended to handle multi commands with the batch command. New constants for execute_ipa_commands debugging: DEBUG_COMMAND_ALL = 0b1111 DEBUG_COMMAND_LIST = 0b0001 Print the while command list DEBUG_COMMAND_COUNT = 0b0010 Print the command number DEBUG_COMMAND_BATCH = 0b0100 Print information about the batch slice size and currently executed batch slice New parameters have been added to execute_ipa_commands: batch: bool Enable batch command use to speed up processing batch_slice_size: integer Maximum mumber of commands processed in a slice with the batch command keeponly: list of string The attributes to keep in the results returned. Default: None (Keep all) debug: integer Enable debug output for the exection using DEBUG_COMMAND_* Batch mode can be enabled within the module with setting batch to True for execute_ipa_commands. Fixes: #1128 (batch command support)
-
- May 21, 2024
-
-
Rafael Guterres Jeffman authored
README-group.md: Add missing ":" in multi rename example
-
Rafael Guterres Jeffman authored
README-user.md: Fix state for user rename in example playbook
-
Rafael Guterres Jeffman authored
ipahost: Fix idempotency issues
-
- May 16, 2024
-
-
Thomas Woerner authored
The name tag in the multi rename example is was missing a ":".
-
Thomas Woerner authored
A user rename requires "state: renamed". This has been wrong in the example.
-
Rafael Guterres Jeffman authored
ipaserver_prepare: Properly create IPA_DEFAULT_CONF
-
- May 14, 2024
-
-
Rafael Guterres Jeffman authored
New inventory plugin
-
Rafael Guterres Jeffman authored
ipauser: Fix idempotency issues for members
-
Thomas Woerner authored
This fixes a bad tests if offline is not set: utils/build-galaxy-release.sh: line 130: [: -ne: unary operator expected
-
Thomas Woerner authored
The inventory plugin compiles a dynamic inventory from IPA domain, filters servers by role(s). Usage: Create yml file, for example `freeipa.yml`: --- plugin: freeipa server: server.ipa.local ipaadmin_password: SomeADMINpassword verify: ca.crt Get compiled inventory: ansible-inventory -i freeipa.yml --graph
-
- May 13, 2024
-
-
Rafael Guterres Jeffman authored
ipaservice: Do not set continue to None for service_del
-
Thomas Woerner authored
This simplified the result_handler and also made the exception_handler superfluous.
-
Thomas Woerner authored
normalize_sshpubkey is imported from ipalib.util and also added to __all__ for use in modules.
-
Thomas Woerner authored
delete_continue defaults to None. The use of continue: None is resulting in an error with the batch command. Therefore only set continue if it is not None.
-
Thomas Woerner authored
These are manager, principal, certificate and certmapdata. The result_handler function has been adapted and the exception_handler function has been removed. A new function has been added: convert_certificate
-
- Mar 28, 2024
-
-
Rafael Guterres Jeffman authored
ipalib.install.kinit moved to ipalib
-
Rafael Guterres Jeffman authored
ipaclient_configure_dns_resolver: Return proper changed state
-
- Mar 27, 2024
-
-
Thomas Woerner authored
FreeIPA PR https://github.com/freeipa/freeipa/pull/7286 moved ipalib.install.kinit to ipalib. It is first tried to import kinit_keytab and kinit_password from ipalib.kinit, then ipalib.install.kinit and finally in some cases where support for IPA 4.5.0 is needed still also ipapython.ipautil. Related: https://github.com/freeipa/freeipa/pull/7286
-
- Mar 26, 2024
-
-
Rafael Guterres Jeffman authored
utils/build-galaxy-release.sh: Fix offline default value
-
Thomas Woerner authored
The offline default value was 0, which resulted in 0 for ${offline/1/--offline}. This broke the ansible-galaxy collection install call.
-
- Mar 21, 2024
-
-
Thomas Woerner authored
The changed state returned from ipaclient_configure_dns_resolver was always True. The internal functions (copies from FreeIPA code) have been fixed to return a changed state. Fixes: #1217 (ipaclient: Configure DNS resolver always reports as changed)
-
Rafael Guterres Jeffman authored
utils/build-galaxy-release.sh: Enable offline generation for rpm
-
- Mar 20, 2024
-
-
Thomas Woerner authored
Two new options have been added to enable the offline build within rpm: -o <A.B.C> Build offline without using git, using version A.B.C Also enables -a -p <path> Installation the generated collection in the path, the ansible_collections sub directory will be created and will contain the collection: ansible_collections/<namespace>/<name> Also enables -i The usage text has been fixed also for specifying namespace and name. The collection variable has been renamed to name. Example usage: utils/build-galaxy-release.sh -o 1.12.1 \ -p %{buildroot}%{_datadir}/ansible/collections \ freeipa ansible_freeipa
-
- Mar 14, 2024
-
-
Rafael Guterres Jeffman authored
ipaserver: Run custodia setup only once
-
- Mar 13, 2024
-
-
Thomas Woerner authored
Use IPAChangeConf and realm_to_ldapi_uri to create IPA_DEFAULT_CONF. With realm_to_ldapi_uri the ldap_uri is correctly using /run instead of /var/run. Before IPA_DEFAULT_CONF was created using file operations.
-
Thomas Woerner authored
The custodia setup is executed twice. At first in ipaserver_setup_custodia and then additionally in ipaserver_setup_ca. The custodia setup code in ipaserver_setup_ca.py has been adapted to fit the code in ipaserver_setup_custodia.py. The extra Setup custodia step in the server roles has been removed together with ipaserver_setup_custodia.py.
-
- Mar 11, 2024
-
-
Rafael Guterres Jeffman authored
ipaserver_test: Return generated domain_name
-
Rafael Guterres Jeffman authored
Fix ca-less test to use X.509 v3 certificates
-
Thomas Woerner authored
If ipaserver_domain is not given, the domain name is generated from the host fqdn. This generated value was so far not returned, but the empty given value instead.
-
- Mar 05, 2024
-
-
Thomas Woerner authored
The generated certificates have been X.509 v1. This is not supported any more. Only X.509 v3 is supported. A new certificates/extensions.conf file has been added to make v3 certificates. The existing certificates/pkinit/extensions.conf has been renamed to certificates/pkinit-extensions.conf with additional changes. For example "[kdc_cert]" had to be removed for v3. The extensions config files are using environment variables, which are set by the generate-certificates.sh script before calling openssl. The script generate-certificates.sh has been reworked for a simpler structure, also new options have been added: "ca" and "cleanup".
-
- Feb 27, 2024
-
-
Thomas Woerner authored
README-dnszone: Fix yaml code block declaration.
-
- Feb 15, 2024
-
-
Rafael Guterres Jeffman authored
There was a space between the code block marker and the highlight hint in a playbook example.
-
- Feb 12, 2024
-
-
Thomas Woerner authored
ipadelegation: Fix idempotence issues due to capitalization.
-
Rafael Guterres Jeffman authored
This patch force processing of permission, attribute and group attributes in lower case, to match behavior of IPA CLI, transforming all of them into lowercase characters. The new behavior fixes idempotence issues when mixing different capitalization in different tasks for the same attribute. A new test playbook is avaiable at: tests/delegation/test_delegation_member_case_insensitive.yml
-