Skip to content
  1. Sep 02, 2021
    • Thomas Woerner's avatar
      delegation: Use IPAAnsibleModule class · c634cfd5
      Thomas Woerner authored
      ipaadmin_variables are handled by IPAAnsibleModule,
      ansible_module.params_get is used to get the parameters and
      ansible_module.ipa_connect is used to simplify the module.
      c634cfd5
    • Thomas Woerner's avatar
      vault: Use IPAAnsibleModule class · fc218878
      Thomas Woerner authored
      ipaadmin_variables are handled by IPAAnsibleModule,
      ansible_module.params_get is used to get the parameters and
      ansible_module.ipa_connect is used to simplify the module.
      fc218878
  2. Sep 01, 2021
  3. Aug 31, 2021
    • Rafael Guterres Jeffman's avatar
      ipaserver: Modify vars loading in ansible-freeipa roles. · e70763b0
      Rafael Guterres Jeffman authored
      When loading variables in all ansible-freeipa roles, it is expected
      that a file with these variables is present for each supported Linux
      distribution, and then, based on the information about the distribution
      provided by Ansible, the correct file is loaded.
      
      Previously, only the facts `distribution` and dinstribution version
      related facts were used, which required specific files, or links to
      files for distributions in the same "family", which will probably have
      the same variables set.
      
      This change adds searching for files based on the `os_family` fact,
      allowing distributions that follow the same family rules to be
      supported, without any changes to the codebase. It is still possible
      that a specific distribution configuration overrides the default
      behavior, as `os_family` has lower priority than `distribution`.
      
      For example, distributions on the `RedHat` family, like Oracle Linux,
      Alma Linux, and Rocky Linux, work withoutadding new files, or links to
      files, to fill the `vars`.
      
      Fix issue #573. Fix issue #523.
      e70763b0
    • Rafael Guterres Jeffman's avatar
      ipareplica: Modify vars loading in ansible-freeipa tests. · f63eaf46
      Rafael Guterres Jeffman authored
      When loading variables in all ansible-freeipa roles, it is expected
      that a file with these variables is present for each supported Linux
      distribution, and then, based on the information about the distribution
      provided by Ansible, the correct file is loaded.
      
      Previously, only the facts `distribution` and dinstribution version
      related facts were used, which required specific files, or links to
      files for distributions in the same "family", which will probably have
      the same variables set.
      
      This change adds searching for files based on the `os_family` fact,
      allowing distributions that follow the same family rules to be
      supported, without any changes to the codebase. It is still possible
      that a specific distribution configuration overrides the default
      behavior, as `os_family` has lower priority than `distribution`.
      
      For example, distributions on the `RedHat` family, like Oracle Linux,
      Alma Linux, and Rocky Linux, work withoutadding new files, or links to
      files, to fill the `vars`.
      
      Fix issue #573. Fix issue #523.
      f63eaf46
    • Rafael Guterres Jeffman's avatar
      ipaclient: Modify vars loading in ansible-freeipa roles. · 8259eb1e
      Rafael Guterres Jeffman authored
      When loading variables in all ansible-freeipa roles, it is expected
      that a file with these variables is present for each supported Linux
      distribution, and then, based on the information about the distribution
      provided by Ansible, the correct file is loaded.
      
      Previously, only the facts `distribution` and dinstribution version
      related facts were used, which required specific files, or links to
      files for distributions in the same "family", which will probably have
      the same variables set.
      
      This change adds searching for files based on the `os_family` fact,
      allowing distributions that follow the same family rules to be
      supported, without any changes to the codebase. It is still possible
      that a specific distribution configuration overrides the default
      behavior, as `os_family` has lower priority than `distribution`.
      
      For example, distributions on the `RedHat` family, like Oracle Linux,
      Alma Linux, and Rocky Linux, work withoutadding new files, or links to
      files, to fill the `vars`.
      
      Fix issue #573. Fix issue #523.
      8259eb1e
    • Rafael Guterres Jeffman's avatar
      ipabackup: Modify vars loading in ansible-freeipa roles. · 8028730c
      Rafael Guterres Jeffman authored
      When loading variables in all ansible-freeipa roles, it is expected
      that a file with these variables is present for each supported Linux
      distribution, and then, based on the information about the distribution
      provided by Ansible, the correct file is loaded.
      
      Previously, only the facts `distribution` and dinstribution version
      related facts were used, which required specific files, or links to
      files for distributions in the same "family", which will probably have
      the same variables set.
      
      This change adds searching for files based on the `os_family` fact,
      allowing distributions that follow the same family rules to be
      supported, without any changes to the codebase. It is still possible
      that a specific distribution configuration overrides the default
      behavior, as `os_family` has lower priority than `distribution`.
      
      For example, distributions on the `RedHat` family, like Oracle Linux,
      Alma Linux, and Rocky Linux, work withoutadding new files, or links to
      files, to fill the `vars`.
      
      Fix issue #573. Fix issue #523.
      8028730c
  4. Aug 26, 2021
  5. Aug 25, 2021
  6. Aug 24, 2021
    • Rafael Guterres Jeffman's avatar
      ansible-lint: Add paths and files to exclude list. · 82b58579
      Rafael Guterres Jeffman authored
      Some YAML files used in the project are not Ansible playbooks and
      should not be evaluated by ansible-lint. This change add the paths
      and files that should not be evaluated to an exclude list, that
      affects linter operations in CI and pre-commit scripts.
      82b58579
    • Thomas Woerner's avatar
      New ipamodule_base_vars · 7a665bdb
      Thomas Woerner authored
      There are common parameters in all modules like ipaadmin_principal and
      ipaadmin_password. As this list of common parameters will be extended
      soon, there is a need to reduce the code and documentation duplicates.
      
      A ModuleDocFragment is added to provide the module documentation for the
      common parameters. This is used in the modules with
      extends_documentation_fragment.
      
      ansible_freeipa_module has additional ipamodule_base_spec and
      get_ipamodule_base_vars. ipamodule_base_spec extends argument_spec in
      the module and get_ipamodule_base_vars is used to return a dict
      containing the common parameters.
      7a665bdb
  7. Aug 23, 2021
  8. Aug 20, 2021
  9. Aug 19, 2021
  10. Aug 12, 2021
  11. Aug 11, 2021
  12. Jul 25, 2021
  13. Jul 16, 2021
  14. Jul 14, 2021
    • Rafael Guterres Jeffman's avatar
    • chrisp's avatar
      New automountlocation module · 6a87db06
      chrisp authored
      There is a new automount location management module placed in the plugins folder:
      
      plugins/modules/ipaautomountlocation.py
      
      This module allows to ensure presence and absence of automount locations
      that act as containers for automount onjects in ipa.
      
      Here is the documentation for the module:
      
      README-automountlocation.md
      
      New example playbooks have been added:
      
      playbooks/automount/automount-location-absent.yml
      playbooks/automount/automount-location-present.yml
      
      New tests for the module:
      
      tests/automount/test_automountlocation.yml
      6a87db06
  15. Jul 13, 2021