- May 16, 2024
-
-
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
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
-
Thomas Woerner authored
ipagroup: Fix idempotence issues due to capitalization
-
Rafael Guterres Jeffman authored
Some attributes for ipagroup objects are stored using lower case letters and should be converted upon retrieving parameter data. This patch adds the missing conversion and provides a new test playbook: tests/group/test_group_case_insensitive.yml
-
Rafael Guterres Jeffman authored
Disable config tests for pac type without ms pac
-
Thomas Woerner authored
ipahostgroup: Fix idempotence issues due to capitalization
-
- Feb 10, 2024
-
-
Rafael Guterres Jeffman authored
ipahostgroup parameters 'host', 'hostgroup', 'membermanager_user' and 'membermanager_group' must be compared in a case insensitive manner and stored as lower case strings. This patch fixes the comparison and storage of this parameters, and change the handling of members to use the same structure as in newer modules. Two new tests files were added: tests/hostgroup/test_hostgroup_case_insensitive.yml tests/hostgroup/test_hostgroup_membermanager_case_insensitive.yml
-
- Feb 09, 2024
-
-
Thomas Woerner authored
ipahbacrule: Fix handling of hbacsvcgroup in members
-
Thomas Woerner authored
The config tests are currently setting the pac type to empty or without MS-PAC type. This results in failed authorization for IPA API. An issue has been opened for FreeIPA to address this: https://pagure.io/freeipa/issue/9527
-
- Feb 07, 2024
-
-
Rafael Guterres Jeffman authored
ipaclient_setup_automount with new install states
-
Thomas Woerner authored
ipaserver: Fix deployment after Bronze-bit fix
-
Rafael Guterres Jeffman authored
As FreeIPA now requires MS-PAC to be set in ipaKrbAuthzData to trigger PAC generation, there's a timing issue that causes API malfunction which is long enough to cause the client part insallation to fail. By restarting KDC after DS password is set, we force cached values to be refreshed, allowing the API to work correctly. Resolves: https://github.com/freeipa/ansible-freeipa/issues/1200
-
Thomas Woerner authored
The returned changed state was always True. changed is now only True if automount_location is set and configure_automount was called.
-
Thomas Woerner authored
This is "Fix ipa-client-automount install/uninstall with new install states" https://github.com/freeipa/freeipa/pull/7100 for ansible-freeipa: Issue 8384 introduced a new installation state for the statestore to identify when client/server installation is completely finished rather than relying on has_files(). The problem is that ipa-client-automount may be called during ipa-client-install and since installation is not complete at that point the automount install was failing with "IPA client not configured". Add a new state, 'automount', to designate that automount installation is in process. If check_client_configuration() fails it checks to see if [installation] automount is True. If so it continues with the installation. This also addresses an issue where the filestore and statestore are shared between the client and automount installers but the client wasn't refreshing state after automount completed. This resulted in an incomplete state and index file of backed-up files which caused files to not be restored on uninstall and the state file to be orphaned. Fixes: https://pagure.io/freeipa/issue/9487
-
Rafael Guterres Jeffman authored
ipaclient: Enable SELinux for SSSD
-