Skip to content
  1. Dec 28, 2021
  2. Dec 23, 2021
  3. Dec 22, 2021
    • Rafael Guterres Jeffman's avatar
      Fix automember test · e3e7d714
      Rafael Guterres Jeffman authored
      Automember client test was failing as it was using 'name' along with 'state: rebuilt'.
      e3e7d714
    • Thomas Woerner's avatar
      automember: Add support for action: orphans_removed · 285fb6b8
      Thomas Woerner authored
      The removal of group or hostgroup orphans has been added to the automember
      module.
      
      It can be ensured that orphans have been removed using action: orphans_removed
      The automember_type needs to be set for this.
      
      New examples have been added to README-automember.md
      
      New playbooks:
      - playbooks/automember/automember-group-orphans-removed.yml
      - playbooks/automember/automember-hostgroup-orphans-removed.yml
      
      New tests:
      - tests/automember/test_automember_orphans_removed.yml
      285fb6b8
    • Thomas Woerner's avatar
      automember: Add automember default group handling · d2648b14
      Thomas Woerner authored
      The fallback group and hostgroup for unmached entries can be set and
      unset using default_group. If default_group is empty, then the default
      group will be unset.
      
      DN and ipa_get_based provided by ansible_freeipa_module are used in the
      code.
      
      New parameters:
      - default_group: Default (fallback) group for all unmatched entries.
      
      New parameters and examples have been added to README-automember.md
      
      New playbooks:
      - playbooks/automember/automember-default-group-not-set.yml
      - playbooks/automember/automember-default-group-set.yml
      - playbooks/automember/automember-default-hostgroup-not-set.yml
      - playbooks/automember/automember-default-hostgroup-set.yml
      
      New tests:
      - tests/automember/test_automember_default_group.yml
      d2648b14
    • Thomas Woerner's avatar
      automember: Add automember state: rebuilt · 67e19224
      Thomas Woerner authored
      There was state: rebuild before, but the code was incomplete and was not
      able to run properly.
      
      New parameters:
      - users: Limit the rebuild to the given users only
      - hosts: Limit the rebuild to the given hosts only
      - no_wait: Don't wait for rebuilding membership
      
      New parameters and examples have been added to README-automember.md
      
      tests/automember/test_automember_client_context.yml has been using
      state: rebuild and lacked the automember_type parameter.
      
      grouping was used in functions and has been replaced by automember_type.
      
      Some typos in examples have been fixed also.
      
      New playbooks:
      - playbooks/automember/automember-group-membership-all-users-rebuilt.yml
      - playbooks/automember/automember-group-membership-users-rebuilt.yml
      - playbooks/automember/automember-hostgroup-membership-all-hosts-rebuilt.yml
      - playbooks/automember/automember-hostgroup-membership-hosts-rebuilt.yml
      
      New tests:
      - tests/automember/test_automember_rebuilt.yml
      67e19224
    • Thomas Woerner's avatar
      ansible_freeipa_module: New api_get_basedn, IPAAnsibleModule.ipa_get_basedn · 9eefc1ae
      Thomas Woerner authored
      These functions have been added to get the basedb from api.env for use
      with DN for example.
      
      api_get_basedn is returning api.env.basedn
      IPAAnsibleModule.ipa_get_basedn is a wrapper for api_get_basedn
      9eefc1ae
  4. Dec 14, 2021
  5. Dec 13, 2021
  6. Dec 10, 2021
  7. Dec 09, 2021
  8. Dec 08, 2021
    • jh23453's avatar
      correct comment in example playbook · 25b41b7e
      jh23453 authored
      Insert "ensure maxlife is set to 49 in global policy" instead of the wrong comment from cut&paste.
      25b41b7e
    • jh23453's avatar
      Login shell is called defaultshell and not defaultlogin · b53f2a08
      jh23453 authored
      The example didn't work for me with the following error (on freeipa 4.9.8):
      
      TASK [display default login shell] **************************************************************************************************
      fatal: [freeipa1.example.org]: FAILED! => {"msg": "
      The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'defaultlogin'
      
      Using the correct variable defaultshell works for me.
      b53f2a08
  9. Nov 30, 2021
    • Rafael Guterres Jeffman's avatar
      ipaservice: code refactor. · f2b3e88d
      Rafael Guterres Jeffman authored
      This PR refactors ipaservice to reduce the number of variables (in
      favor of a 'struct') and to group member management code so that it
      can be leveraged, and not partially duplicated, between the states
      and actions.
      
      Altough this code is less direct that the previous one, it will reduce
      the number fo changes to be made if changes to member management is
      required.
      f2b3e88d
    • Rafael Guterres Jeffman's avatar
      upstream ci: Build images for CentOS 9 Stream. · e001ecb1
      Rafael Guterres Jeffman authored
      This patch add support for building testing images for CentOS 9 Stream.
      e001ecb1
  10. Nov 29, 2021
  11. Nov 26, 2021
  12. Nov 25, 2021