- May 05, 2021
-
-
Rafael Guterres Jeffman authored
There were no test for the arguments of compare_args_ipa() to check if they were `None`, and they were used in contexts where `None` would raise exceptions. A test was added to return `False` if only one of the parameters is `None`, and `True` if both are None.
-
- May 04, 2021
-
-
Thomas Woerner authored
Force plugins to execute using LANGUAGE='C'.
-
Rafael Guterres Jeffman authored
IPA translates exception messages and Ansible uses controller's language to execute plugins on target hosts, and since ansible-freeipa uses Exceptions messages to detect some errors and/or states, using any language that has a translation for the required messages may cause the plugin to misbehave. This patch modifies ansible_freeipa_module in plugin/module_utils to force the use of "C" as the language by setting the environment variable LANGUAGE. Tests were added to verify the correct behavior: tests/environment/test_locale.yml The first test will fail, if ansible_freeipa_module is not patched, with the message: host_show failed: nonexistent: host nicht gefunden This issue is not present if the language selected does not provide a translation for the eror message. This patch does not fix encoding issues that might occur in certain releases (e.g.: CentOS 8.3). Fix #516
-
- May 03, 2021
-
-
Thomas Woerner authored
Tests: Change inline certificates to file lookups in ipaservice tests.
-
Rafael Guterres Jeffman authored
Tests for service certificates were still using pre-generated certificate files. This patch uses the same approach as other tests, it generates a certficate, when needed, and use file lookup.
-
Thomas Woerner authored
Fix execution of Github Workflow to verify ansible docs.
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
The Github workflow Ubuntu images do not provide Ansible pre-installed anymore, and this patch forces its installation through Python's pip. Different jobs were created to test documentation with different versions of Ansible, currently 2.9 and the latest available.
-
Rafael Guterres Jeffman authored
tests/azure: Set ANSIBLE_LIBRARY, deactivate NTP
-
Thomas Woerner authored
In CentOS 8 and also Fedora the configuration and start of chrony fails with Fatal error : adjtimex(0x8001) failed : Operation not permitted For more information: https://bugzilla.redhat.com/show_bug.cgi?id=1772053 NTP will not be needed before a separate namespace is used for clocks.
-
Thomas Woerner authored
The ANSIBLE_LIBRARY environment variable needs to point to molecule directory.
-
- Apr 08, 2021
-
-
Rafael Guterres Jeffman authored
Use ansible_facts variable
-
- Apr 07, 2021
-
-
Rafael Guterres Jeffman authored
change variable in get_ipabackup_dir.yml and update README.md
-
Ivan PANICO authored
-
- Mar 19, 2021
-
-
Grzegorz Grasza authored
Without this change the "Import variables specific to distribution" tasks fail with "Could not find file on the Ansible Controller..." on environments with inject facts disabled. This changes the tests to run with ansible with inject_facts_as_vars = false and fixes other roles and playbooks.
-
- Feb 22, 2021
-
-
Varun Mylaraiah authored
ipaclient: Do not fail on rmkeytab error #7
-
Thomas Woerner authored
Due to commit f3f9672d527008dc741ac90aa465bac842eea08d (ipa-rmkeytab: Check return value of krb5_kt_(start|end)_seq_get) in IPA 4.9.2 there is a new error reported for ipa-rmkeytab in case of a non existing keytab file. Using ipa-rmkeytab now results in the error #7 in this case. The client role is using ipa-rmkeytab and needs to ignore error #7 also. Fixes: #510 (ipa-client installation with OTP is failed with error code 7 (keytab: /usr/sbin/ipa-rmkeytab returned 7))
-
- Feb 04, 2021
-
-
Varun Mylaraiah authored
example playbooks: ipaselfservice examples mentioned ipadelegation.
-
Varun Mylaraiah authored
Fix ipapermission example playbooks
-
Rafael Guterres Jeffman authored
The example playbooks for ipaselfservice were using the wrong module, ipadelegation. This patch changes the references from ipadelegation to ipaselfservice on these example playbooks. Also, the attributes were changed, so the same attributes are used throughout the examples.
-
- Feb 02, 2021
-
-
Rafael Guterres Jeffman authored
By using only one permission name, examples are easier to follow.
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
Example playbooks for ipapermission didn't have default password set.
-
Rafael Guterres Jeffman authored
ipapremission playbooks were using the invalid attribute `perm_right`. The attribute was changed to `right`.
-
- Jan 27, 2021
-
-
Rafael Guterres Jeffman authored
Fix container build.
-
Rafael Guterres Jeffman authored
Fixed names of member objects of sudorule
-
- Jan 26, 2021
-
-
Rafael Guterres Jeffman authored
Building containers for CentOS and Fedora were failing due to image download failure. The container build process was fixed by changing the base images.
-
Rafael Guterres Jeffman authored
Without explicit installation, Ansible was failing to run on Azure pipelines. This change explicitly install the latest Ansible version available through `pip`.
-
Rafael Guterres Jeffman authored
In the near future, Github will use Ubuntu 20.04, for workflows, and this change will keep the upstream CI environment consistent between Github and Azure.
-
Eric Nothen authored
Fixed names of sudorule member objects, as they did not match the names provided by IdM. From: To: member_host memberhost_host member_hostgroup memberhost_hostgroup member_user memberuser_user member_group memberuser_group Fixes: #500
-
- Jan 18, 2021
-
-
Thomas Woerner authored
Fix build-galaxy.sh execution and add running info.
-
Rafael Guterres Jeffman authored
This patch adds a missing argument to `read` and adds information on which step is being executed.
-
Thomas Woerner authored
A wrong variable was used inside of the while IFS read loops. This prevented that the modules, playbooks, tasks, example playbooks and also tests have been adapted for the galaxy release naming scheme.
-
Varun Mylaraiah authored
Fix adding A/AAAA records with reverse in compatibility mode.
-
Varun Mylaraiah authored
Improve ipapermission member management.
-
- Jan 12, 2021
-
-
Rafael Guterres Jeffman authored
In `ipapermission` plugin, Some attributtes were not being managed when `action: member` was enabled. This patch enable member management for `right`, `rawfilter`, `filter, and fixes management of `memberof`. Fix issue #489
-
Rafael Guterres Jeffman authored
When adding A or AAAA records using the compatibility mode with Ansible's community general plugin, the reverse (PTR) record was added, but the A/AAAA record was not. This patch fixes the behavior. Fix issue #491
-
- Jan 11, 2021
-
-
Rafael Guterres Jeffman authored
Fix typo in README-permission.md
-
Thomas Woerner authored
There is a typo "Eure" instead of "Ensure" in the rename task.
-