- Nov 24, 2021
-
-
Thomas Woerner authored
This patch is needed to pass Automation Hub tests.
-
Thomas Woerner authored
This patch is needed to pass Automation Hub tests.
-
- Nov 03, 2021
-
-
Rafael Guterres Jeffman authored
When setting 'runasuser' or 'runasgroup' for a sudorule, either IPA or external users and groups can be used, but only IPA users and groups were being searched for when modifying the attributes, making this task not idempotent if an external group or user was used.. This patch fixes this issue by comparing users and groups to the IPA and external setting. The IPA CLI commands are slightly confusing, as the sudorule-add and sudorule-mod display separate options for internal and external users and groups, but these options are deprecated and do not work anymore, in favor of sudorule-add-runasuser and sudorule-add-runasgroup, which don't diferentiate between internal and external users, from the CLI user perspective.
-
- Oct 26, 2021
-
-
Rafael Guterres Jeffman authored
This patch removes the custom command result handler in favor of the IPAAnsibleModule default member handler and fixes creation of add and del lists of permissions, fixing the behavior of the moudule execution when 'check_mode: yes'.
-
- Oct 25, 2021
-
-
Rafael Guterres Jeffman authored
When creating the lists to add/remove principal aliases, if the realm was not specified, the alias would be used as it did not matched the existing one, which has the realm part. This patch fixes the add/del list creation by adding the current API realm to each alias that does not have the realm part and then use this modified list to be compared against the existing principal list. This change also allows the use of the whole list in a single call to the IPA API to add/remove the principals, instead of a call for every one item in the list.
-
- Oct 01, 2021
-
-
Rafael Guterres Jeffman authored
When running the tests that can be executed either on server or client context, without defining 'ipa_context', the context is automatically identified. Currently, the tests in upstream CI run only on a server, and the context is identified as "server" context, and in order to run the test using a client context 'ipa_context' must be set to 'client'. This patch fixes all the client context tests by correctly setting ipa_context when running the client context tests in a server host.
-
- Sep 29, 2021
-
-
Rafael Guterres Jeffman authored
Some tests for ipahost and ipauser modules, related to certificates had the verification part disabled. This patch enable these verifications.
-
Rafael Guterres Jeffman authored
Comments in YAML files should be aligned to content.
-
Rafael Guterres Jeffman authored
This patch fixes yamllint's "line too long" (line-lenght) warnings by ensuring all lines in YAML files have, at most, 160 characters. If a line cannot be written as a multiline block, line-length rule evaluation is disabled for the specific line, both on yamllint and on ansible-lint.
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
This patch adds 'name' to all test playbook tasks that did not have it, fixing ansible-lint's error 'unnamed-task'.
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
Update vault README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/vault/test_vault_client_context.yml As `ipavault` only works in client context, an error is raised if it is explicitly executed in a server context.
-
- Sep 28, 2021
-
-
Rafael Guterres Jeffman authored
Update selfservice README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/selfservice/test_selfservice_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update service README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/service/test_service_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update user README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/user/test_user_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update trust README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/trust/test_trust_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update sudorule README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/sudorule/test_sudorule_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update sudocmdgroup README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/sudocmdgroup/test_sudocmdgroup_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update sudocmd README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/sudocmd/test_sudocmd_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update server README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/server/test_server_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update role README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/role/test_role_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update pwpolicy README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/pwpolicy/test_pwpolicy_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update privilege README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/privilege/test_privilege_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update permission README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/permission/test_permission_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file. Due to differences in data returned when running in a client context, some values had to be modified so that comparision works and an unnecessary call to IPA API is executed.
-
Rafael Guterres Jeffman authored
Update location README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/location/test_location_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update hostgroup README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/hostgroup/test_hostgroup_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update host README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/host/test_host_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update hbacsvcgroup README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/hbacsvcgroup/test_hbacsvcgroup_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update hbacsvc README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/hbacsvc/test_hbacsvc_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update hbacrule README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/hbacrule/test_hbacrule_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update group README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/group/test_group_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update dnszone README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/dnszone/test_dnszone_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file. Due to differences in data returned when running in a client context, verification if zone is active had to be modified.
-
Rafael Guterres Jeffman authored
Update dnsrecord README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/dnsrecord/test_dnsrecord_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-
Rafael Guterres Jeffman authored
Update dnsforwardzone README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/dnsforwardzone/test_dnsforwardzone_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file. Due to differences in data returned when running ipadnsforwardzone in a client context, some values had to be modified so that comparision works, avoiding unnecessary IPA API calls.
-
Rafael Guterres Jeffman authored
Update dnsconfig README file and add tests for executing plugin with `ipaapi_context` set to `client`. A new test playbook can be found at: tests/dnsconfig/test_dnsconfig_client_context.yml The new test file can be executed in a FreeIPA client host that is not a server. In this case, it should be defined in the `ipaclients` group, in the inventory file.
-