Skip to content
  1. Jun 15, 2022
    • Rafael Guterres Jeffman's avatar
      914e4879
    • Rafael Guterres Jeffman's avatar
      Add support to define which playbook tests to execute with pytest. · 13cff635
      Rafael Guterres Jeffman authored
      pytest provide the means to skip tests based on patterns, but writing
      these patterns for ansible-freeipa might not be feasible.
      
      This PR allows the selection of playbook tests and modules that will
      be executed with pytest using the environmentt variables IPA_ENABLED_TESTS
      IPA_ENABLED_MODULES, IPA_DISABLED_TESTS or IPA_DISABLED_MODULES.
      
      When using IPA_ENABLED_MODULES, all modules will be disabled, and only
      the modules in the enabled list will be tested. If using the test
      filter, IPA_ENABLED_TESTS, all tests are disabled, unless they are in
      the enabled test lists.
      
      If the IPA_DISABLED_* version is used, tests and modules are enabled by
      default, and the list is used to disable the module or specific test.
      
      To disable a test or module in Azure CI, edit the file
      `tests/azure/variables` and add the desired tests or modules to the
      parameter variables `enabled_modules`, 'enabled_tests`, `disabled_tests`
      or `disable_modules`.
      
      Note that, if added to the `master` branch, this will affect the tests
      for every pipeline that it is include (including 'nightly'), so it should
      be used with care.
      
      It can be used with TEMP commits to enable only the desired tests,
      speeding up upstream tests.
      13cff635
  2. Jun 14, 2022
  3. May 12, 2022
  4. Apr 29, 2022
  5. 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
  6. Apr 27, 2022
  7. Apr 26, 2022
  8. Apr 25, 2022
  9. Apr 12, 2022
  10. Apr 07, 2022
  11. Apr 06, 2022