Skip to content
  1. Jul 19, 2023
    • Thomas Woerner's avatar
      Merge pull request #1075 from rjeffman/automount_indirect_maps · 5d082145
      Thomas Woerner authored
      ipaautomountmap: add support for indirect maps
      5d082145
    • Rafael Guterres Jeffman's avatar
      ipaautomountmap: add support for indirect maps · a33fcf45
      Rafael Guterres Jeffman authored
      Indirect maps were not supported by ansible-freeipa ipaautomountmap.
      This patch adds support for adding indirect automount maps using the
      "parent" and "mount" parameters, if the map do not yet exist. An
      existing map cannot be modified.
      
      The "parent" parameter must match an existing automount map, and the
      "mount" parameter is required if "parent" is used.
      
      A new example playbook can be found at:
      
          playbooks/automount/automount-map-indirect-map.yml
      
      A new test playbook was added to test the feature:
      
          tests/automount/test_automountmap_indirect.yml
      a33fcf45
  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