Skip to content
  1. Dec 12, 2024
  2. Dec 11, 2024
  3. 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
  4. 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
  5. Dec 03, 2024
  6. Dec 02, 2024
  7. Nov 29, 2024
  8. Nov 28, 2024
  9. Nov 26, 2024
  10. Nov 19, 2024
  11. 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
  12. Nov 15, 2024
    • Rafael Guterres Jeffman's avatar
      ansible_freeipa_module_utils: Add EntryFactory class · da775a21
      Rafael Guterres Jeffman authored
      This patch adds the class EntryFactory to the ansible-freeipa module
      utils. This class allows the handling of modules with multiple object
      entries as list of objects. When the multi-object parameter is not used,
      it creates a list of a single object, allowing for the same code idiom
      to be used.
      
      The entries created can be used both as objects, by acessing the values
      as properties, or as dictionaires, by accessing the elements as
      key-value pairs.
      da775a21
  13. Nov 13, 2024
  14. Nov 12, 2024
  15. Nov 07, 2024
  16. Nov 06, 2024
  17. Nov 04, 2024
Loading