Skip to content
  1. Jun 21, 2022
  2. Jun 17, 2022
  3. Jun 15, 2022
  4. Jun 14, 2022
  5. May 23, 2022
  6. May 12, 2022
  7. Apr 29, 2022
  8. Apr 28, 2022
    • Rafael Guterres Jeffman's avatar
      New idrange management module · 603bd618
      Rafael Guterres Jeffman authored
      There is a new idrange management module placed in the plugins folder:
      
          plugins/modules/ipaidrange.py
      
      The idrange module allows to ensure presence and absence of idranges.
      
      Here is the documentation of the module:
      
          README-idrange.md
      
      New example playbooks have been added:
      
          playbooks/idrange/idrange-absent.yml
          playbooks/idrange/idrange-ad-posix-present.yml
          playbooks/idrange/idrange-ad-present.yml
          playbooks/idrange/idrange-present.yml
      
      New tests for the module can be found at:
      
          tests/idrange/test_idrange.yml
          tests/idrange/test_idrange_client_context.yml
      603bd618
  9. Apr 27, 2022
  10. Apr 26, 2022
    • Rafael Guterres Jeffman's avatar
      ipatrust: Fix support for `range_type`. · 766cf5a2
      Rafael Guterres Jeffman authored
      The ipatrust module was ignoring the value of `range_type`, which is
      required to allow for different types of idranges.
      766cf5a2
    • Rafael Guterres Jeffman's avatar
      tests/trust: Improved test coverage and execution. · 3ea452ef
      Rafael Guterres Jeffman authored
      This patch applies several changes to the ipatrust test playbook:
      
      * Add externally defined parameters so execution in local trust
        environments can be configured. The available parameters are:
          * winserver_admin_password: the Administrator password for the AD
            server (default: 'SomeW1Npassword')
          * winserver_domain: the AD server domain (default: 'windows.local')
          * winserver realm: the AD server realm (by default, the uppercase
            version of winserver_domain)
          * ipaserver_domain: the FreeIPA server domain (default: 'ipa.test')
          * ipaserver_realm: the FreeIPA server realm (by default, the
            uppercase version of ipaserver_domain
      
      * Modify trust verification to check for the existence of the trust as
        it the output of `ipa trust-find`, instead of cheking for the number
        of items returned, as the number might vary.
      
      * Add idempotency tests by re-executing tasks and verifying that no
        change was performed.
      
      * Added tests to verify creation of trusts with different 'range_type'.
      
      * Use a Kerberos cache for shell scripts, and destroy it on exit.
      
      * Properly remove all `idrange` that might be created upon setting up a
        trust.
      3ea452ef
    • Rafael Guterres Jeffman's avatar
      tests/ipatrust: Modify AD realm name to an invalid name. · 50b16cb3
      Rafael Guterres Jeffman authored
      As the task is expected to fail, the AD realm name was modified to show
      the expected behavior more clearly.
      50b16cb3
    • Thomas Woerner's avatar
      Merge pull request #807 from rjeffman/zone_forwarder_consistency · 9b0558a9
      Thomas Woerner authored
      DNS forward policy: ensure consistency between module parameters.
      9b0558a9
    • Rafael Guterres Jeffman's avatar
      ipatrust: Updated ipatrust documentation. · 6124dc0c
      Rafael Guterres Jeffman authored
      This patch updates the ipatrust documentation about the 'trust_type'
      parameter, and changes one password to be similar to the standard
      passwords used in other modules.
      6124dc0c
    • Rafael Guterres Jeffman's avatar
      ipatrust: Set valid choices for trust_type. · 423a6b0e
      Rafael Guterres Jeffman authored
      Ensure only valid choices for trust_type ('ad')  are available for the
      module parameter.
      423a6b0e
    • Rafael Guterres Jeffman's avatar
      ipaautomountmap: Allows clearing description attribute with "". · a83bab94
      Rafael Guterres Jeffman authored
      This change allows clearing automountmap 'description' attribute by
      passing an empty string ("") as the playbook parameter.
      
      New test cases were added to check this behavior.
      a83bab94
    • Rafael Guterres Jeffman's avatar
      ipauser: Refactor module due to fix on arguments comparison. · 70f4b7d6
      Rafael Guterres Jeffman authored
      Due to a change in 'ansible_freeipa_module.compare_args_ipa', playbook
      parameters using empty strings are correctly evaluated, and do not need
      to be removed before comparison is performed.
      
      A new test playbook, with tests for clearing attributes with an empty
      string ("") is available at:
      
          tests/user/test_user_empty_lists.yml
      70f4b7d6
    • Rafael Guterres Jeffman's avatar
      module_utils: Fix comparison of elements not in IPA object. · f2865efb
      Rafael Guterres Jeffman authored
      This change modifies the comparison of the retrieved IPA object and the
      provided arguments on ansible_freeipa_module.compare_args_ipa when the
      provider argument is an empty string.
      
      If an attribute is not available in 'ipa', its value is considered to be
      a list with an empty string (['']), possibly forcing the conversion of
      the 'args' attribute to a list for comparison. This allows, for example,
      the usage of empty strings which should compare as equals to inexistent
      attributes (None), as is done in IPA API.
      f2865efb