Skip to content
  1. Feb 09, 2024
  2. Feb 07, 2024
  3. Feb 06, 2024
    • Rafael Guterres Jeffman's avatar
      ipahbacrule: Fix handling of hbacsvcgroup in members · b87b346a
      Rafael Guterres Jeffman authored
      FreeIPA provides a default hbacsvcgroup named "Sudo", with capital 'S',
      that is different from every other hbacsvcgroup, which are all
      represented by lower case letters.
      
      As data from IPA API was not modified, this causes an idempotence error
      when using different capitalization with the 'hbacsvcgroup' parameter.
      
      This patch fixes the issue by using the CaseInsensitive comparator to
      create the hbacsvcgroup list.
      
      Tests were update to make sure a regression is not included in the
      future.
      b87b346a
    • Thomas Woerner's avatar
      ipaclient: Enable SELinux for SSSD · e92db5c5
      Thomas Woerner authored
      This is "ipa-client-install: enable SELinux for SSSD"
      https://github.com/freeipa/freeipa/pull/6978 for ansible-freeipa:
      
      For passkeys (FIDO2) support, SSSD uses libfido2 library which needs
      access to USB devices. Add SELinux booleans handling to ipa-client-install
      so that correct SELinux booleans can be enabled and disabled during
      install and uninstall. Ignore and record a warning when SELinux policy
      does not support the boolean.
      
      Fixes: https://pagure.io/freeipa/issue/9434
      e92db5c5
  4. Jan 25, 2024
  5. Jan 23, 2024
    • Rafael Guterres Jeffman's avatar
      ipasudorule: Allow setting groups for runasuser. · 1fde1764
      Rafael Guterres Jeffman authored
      On IPA CLI sudorule-add/del-runasuser accept 'group' as a parameter,
      and this option was missing in ansible-freeipa ipasudorule module.
      
      This patch adds a new parameter 'runasuser_group' to allow setting
      Groups of RunAs Users, as allowed by CLI and WebUI.
      
      New example playboks can be found at:
      
          playbooks/sudorule/ensure-sudorule-runasusesr-group-is-absent.yml
          playbooks/sudorule/ensure-sudorule-runasusesr-group-is-present.yml
      1fde1764
  6. Dec 21, 2023
  7. Dec 20, 2023
  8. Dec 19, 2023
  9. Dec 15, 2023
  10. Dec 14, 2023
  11. Dec 08, 2023
  12. Dec 07, 2023
  13. Dec 06, 2023
    • Rafael Guterres Jeffman's avatar
      Bump minimum ansible-lint version to 6.22 · d2e0cad9
      Rafael Guterres Jeffman authored
      By the first quarter of 2024, all collections must pass ansible-lint
      tests run with version 6.22.x. This PR ensure that all ansible-freeipa
      tests depending on ansible-lint use a valid version of it.
      d2e0cad9
    • Rafael Guterres Jeffman's avatar
      Merge pull request #1186 from... · 9c735939
      Rafael Guterres Jeffman authored
      Merge pull request #1186 from t-woerner/test_host_random_conditional_statements_no_jinja2_templating
      
      test_host_random: No jinja2 templating in conditional statements
      9c735939
    • Rafael Guterres Jeffman's avatar
      ipaclient: Fix OTP error reporting · 22214daf
      Rafael Guterres Jeffman authored
      When deploying an IPA client with ipaclient, if an error occured while
      getting an OTP, no error message is logged, as the task that logs the
      error is not excuted due to the previous taks failure.
      
      By adding a 'rescue' section to the code block and moving the error
      reporting to this new section, we ensure that the proper error messages
      will be reported.
      22214daf
    • Thomas Woerner's avatar
      test_host_random: No jinja2 templating in conditional statements · 2c9ee7d8
      Thomas Woerner authored
      With ansible-core 2.14.12 using jinja2 templating in conditional
      statements with ansible_facts['fqdn'] is marked as unsafe and results in
      a failure.
      
      The issues with using jinja2 templating in conditional statements for
      asserts have been solved and a new server_fqdn fact has been added for
      ansible_facts['fqdn'].
      2c9ee7d8