Skip to content
  1. Jul 19, 2023
    • Rafael Guterres Jeffman's avatar
      ipaserver: Update README with detailed Ubuntu support · ef0b7e80
      Rafael Guterres Jeffman authored
      Ubuntu does not have a FreeIPA server package since version 20.04. As
      versions 16.04 (Xenial Xerus) and 18.04 (Bionic Beaver) will be
      supported by Canonical until 2026 and 2028, repectively, we should keep
      existing support for both versions in the ipaserver, ipareplica and
      ipabackup roles until them.
      
      This patch changes documentation to reflect that only those versions are
      supported.
      ef0b7e80
  2. Jul 17, 2023
  3. Jul 15, 2023
    • Rafael Guterres Jeffman's avatar
      utils/run-tests.sh: Install Ansible collections on virtual environment · 1555132d
      Rafael Guterres Jeffman authored
      When runing tests using 'utils/run-tests.sh' from inside an existing
      Python virtual environment the Ansible collections are not installed due
      to the order of execution of the script. On a machine that does not have
      the 'containers.*' collection the test fails as there is no container
      connector available.
      
      This patch moves the section that installs Ansible collections to run
      after the virtual environment is configured, and then install the
      collections (usually, only 'containers.podman'), allowing the tests to
      be executed.
      1555132d
  4. Jul 14, 2023
  5. Jul 13, 2023
  6. Jul 12, 2023
  7. Jul 11, 2023
    • Rafael Guterres Jeffman's avatar
      ipapwpolicy: Updated module documentation. · 7b2701b9
      Rafael Guterres Jeffman authored
      Most of ipapwpolicy parameters can be set to an empty string ("") so
      that the policy is not applied to pwpolicy. This was not refelected on
      the documentation.
      
      This change adds 'or ""' to all the fields that can be disabled by
      setting it to an empty string. Also, `data types were reviewed and fixed.
      7b2701b9
    • Rafael Guterres Jeffman's avatar
      ipapwpolicy: Modify handling of usercheck and dictcheck · 694c7178
      Rafael Guterres Jeffman authored
      Modified handling of boolean values by using Ansible's 'boolean()' check
      function so that a string can be used and either a bool value is
      accepted or an empty string.
      
      As the error message was changed to use the same Ansible message, tests
      were also updated.
      694c7178
    • Rafael Guterres Jeffman's avatar
      module_utils: Export Ansible's 'boolean' parsing function. · 083396e1
      Rafael Guterres Jeffman authored
      Export Ansible's 'boolean' parsing function so it can be used to verify
      if a string can be handled as a truthy value, allowing module parameters
      to use strings instead of bools, as strings can be cleared by using
      empty strings.
      083396e1
  8. Jul 10, 2023
    • Rafael Guterres Jeffman's avatar
      ipauser: Add support to modify GECOS field. · 9a8a1db3
      Rafael Guterres Jeffman authored
      This patch adds a new parameter to ipauser, 'gecos', which can be used
      to set the 'gecos' field of an IPA user. The default behavior of
      automatically set the GECOS field to "<first> <last>" is not modified,
      it is only possible to change the field to a custom value.
      
      No validation on the value provided is done, as it is with FreeIPA.
      9a8a1db3
  9. Jun 15, 2023
  10. Jun 09, 2023
    • Rafael Guterres Jeffman's avatar
      upstream CI: Update ansible-core version · 51f64e43
      Rafael Guterres Jeffman authored
      ansible-core 2.15 has been released on May 15th, 2023, and version 2.12
      has reached EOL on May 22nd, 2023.
      
      This patch updates the ansible-core versions used on upstream CI tests
      to reflect Ansible's new releases.
      51f64e43
  11. Jun 07, 2023
  12. Jun 06, 2023
  13. Jun 05, 2023
  14. May 30, 2023
  15. May 16, 2023
    • Rafael Guterres Jeffman's avatar
      upstream CI: Disable ansible-lint var-naming check · 306522ac
      Rafael Guterres Jeffman authored
      Latest ansible-lint version (6.16.1) started to raise an error when
      variable names from within roles are not prefixed with  the role name.
      Error: var-naming[no-role-prefix].
      
      As Ansible sanity check does not enforce this, it will be disabled, for
      now on ansible-freeipa's upstream CI.
      
      A future effort to reduce the checks that are not being evaluated should
      be done as preparation for future Ansible Galaxy and Automation Hub
      requirements.
      306522ac
  16. May 15, 2023
    • Rafael Guterres Jeffman's avatar
      Upstream CI: Disable execution of pytest tests. · a1553241
      Rafael Guterres Jeffman authored
      The tests under 'tests/pytests' were a POC to bring tests that evaluate
      the result of playbook execution on the IPA environment. This is
      currently only implemented for dnszone tests, and similar test coverage
      is obtained with other tests.
      
      As there is an ongoing issue with Ansible's docker pluging
      ("the connection plugin 'docker' was not found"), which is stil under
      investigation, by removing the pytest tests we'll remove the consistent
      failures currently seen on upstream CI, and will not loose test
      coverage, specially if we take into account downstream tests.
      
      Also, a new version for the pytests will be available once multihost
      testing is implemented for upstream.
      a1553241