Skip to content
  1. Feb 04, 2025
  2. Feb 03, 2025
  3. Jan 31, 2025
  4. Jan 29, 2025
  5. Dec 12, 2024
  6. Dec 11, 2024
  7. Dec 10, 2024
    • Thomas Woerner's avatar
      utils/build-galaxy-release.sh: Do not create duplicates for role plugins · 8e6c5e56
      Thomas Woerner authored
      This change reduces the size of the Ansible collection and removes unused
      files.
      
      While creating the collection, the role plugins have been linked into the
      global plugin folders, but a subsequent sed call replaced the links with
      changed files. The original files have also been changed with another sed
      call in the same way. This resulted in the duplication of the changed
      files.
      
      The plugins of the roles are now moved into the global plugin folders and
      only changed there. The now empty plugin folders in the roles are
      removed.
      8e6c5e56
    • Rafael Guterres Jeffman's avatar
      ipagroup: Correctly handle externalmember in member actions · 431dc866
      Rafael Guterres Jeffman authored
      When creating the lists of external members, the attribute
      'ipaexternalmember' also needs to be added to the list of external
      members that are part of the group object for external groups.
      
      A test to verify the correct behavior was added and the test suite for
      group external members have been cleaned up with 'yes' values changed to
      'true' and the use of module_defaults.
      431dc866
  8. Dec 05, 2024
    • Rafael Guterres Jeffman's avatar
      ipacert: Revoking with removeFromCRL should be handled as cert release · bc16ccae
      Rafael Guterres Jeffman authored
      When a revoked certificate with reason 6 (certificateHold) is revoked
      with reason 8 (removeFromCRL), the effect is that the certificate is
      valid again, as it is the same procedure as 'state: release'.
      
      This is, at least, the behavior with IPA CLI comands, which is
      implemented by this patch.
      
      A new test is added to verify this behavior:
      
          tests/cert/test_cert_remove_hold_with_removeFromCRL.yml
      bc16ccae
  9. Dec 03, 2024
  10. Dec 02, 2024
  11. Nov 29, 2024
  12. Nov 28, 2024
  13. Nov 26, 2024
  14. Nov 19, 2024
  15. Nov 18, 2024
    • Rafael Guterres Jeffman's avatar
      tests/sudorule: Don't become or gather_facts and use only true/false · 6c94fe9b
      Rafael Guterres Jeffman authored
      Unless there's a real need to use privileged access or to gather Ansible
      facts upfront, we should always set "become: false" and
      "gather_facts: false". In the case that only a few Ansible facts are
      required, 'ansible.builtin.setup' with 'gather_subset' should be used.
      
      As the YAML 1.2 standard dictates, boolean values should only use 'true'
      or 'false' values.
      
      This patch fixes these issues in the 'sudorule' test suite.
      6c94fe9b
    • Rafael Guterres Jeffman's avatar
      ipasudorule: Add support for batch mode and multiple sudorules · 4fa06211
      Rafael Guterres Jeffman authored
      Currently, ipasudorule must add or modify a single sudorule at a time,
      incurring in more load in the server if there are many rules to be
      processed.
      
      This patch adds suport for adding multiple sudorules in one playbook
      task by using the parameter 'sudorules' and defining a list of sudorules
      configurations to be ensured.
      
      As multiple sudorules will be processed, the patch also enables batch
      mode processing of sudorules, trying to reduce the load on the server.
      
      Test 'tests/sudorule/test_sudorule_client_context.yml' was modified to
      include tasks with 'sudorules' to be executed both on the server or on
      the client context.
      
      New tests were added to the sudorule test suite:
      
          tests/sudorule/test_sudorules.yml
          tests/sudorule/test_sudorules_member_case_insensitive.yml
      4fa06211
Loading