Skip to content
  1. Jan 13, 2022
  2. Jan 12, 2022
  3. Jan 11, 2022
  4. Jan 06, 2022
    • chrisp's avatar
      New automount map management module. · 0d474290
      chrisp authored
      There is a new server management module placed in the plugins folder:
      
          plugins/modules/ipaautomountmap.py
      
      The server module allows to ensure presence and absence of automount
      maps. The module requires an existing automount location to place the
      map within. It does not create any automount keys with in the map.
      
      Here is the documentation for the module:
      
          README-automountmap.md
      
      New example playbooks have been added:
      
          playbooks/automount/automount-map-absent.yaml
          playbooks/automount/automount-map-present.yaml
      
      New tests for the module:
      
          tests/automount/test_automountmap.yml
      0d474290
  5. Jan 05, 2022
  6. Jan 04, 2022
  7. Jan 03, 2022
  8. Dec 29, 2021
    • Rafael Guterres Jeffman's avatar
      iparole: Add state 'renamed'. · 68f77584
      Rafael Guterres Jeffman authored
      All ansible-freeipa modules which allow object renaming should support
      'state: renamed'.
      
      This patch adds suport for the missing state, and fixes cases where a
      user could try to rename the object and set its members, which would
      fail depending on the operation order.
      
      Fix #566
      68f77584
    • Rafael Guterres Jeffman's avatar
      sudorule: Create FQDN from single hostnames · cf7fc949
      Rafael Guterres Jeffman authored
      Single hostnames can be used for sudorule_add_host and will match fqdn
      in IPA internally. Simple host names have to be extended to be FQDN to
      be able to compare them for sudorule_host_add and sudorule_host_remove.
      
      Fixes #672
      cf7fc949
  9. Dec 28, 2021
  10. Dec 23, 2021
  11. 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