Skip to content
  1. Sep 07, 2021
    • Thomas Woerner's avatar
      automember: Use execute_ipa_commands · e6f0eb23
      Thomas Woerner authored
      execute_ipa_commands replces the check mode exit, the loop over the
      generated commands and also in the member failure handling for modules
      with member support.
      e6f0eb23
  2. Sep 01, 2021
    • Thomas Woerner's avatar
      automember: Use IPAAnsibleModule class · 7ff49265
      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.
      7ff49265
  3. Jul 13, 2021
    • Thomas Woerner's avatar
      automember: Verify condition keys · 382ee6ff
      Thomas Woerner authored
      The automember_add_condition and automember_remove_condition commands
      are not verifying condition keys in all cases. This is for example not
      done in the removal case if a condition is not part of the automember
      rule.
      
      For consistent behaviour this needs to be done in the automember module
      now. The condition keys are verified with the user and group aciattrs
      returned by the API command json_metadata now.
      
      Related: RHBZ#1976926
      382ee6ff
  4. Jul 08, 2021
    • Thomas Woerner's avatar
      automember: Fix result["failed"] issues with conditions · 032c41f8
      Thomas Woerner authored
      result["failed"] is used only for INCLUDE_RE, EXCLUDE_RE if entries could
      not be added that are already there and it entries could not be removed
      that are not there.
      
      All other issues like invalid attributes etc. are handled as exceptions.
      Therefore the error section is not here as in other modules.
      
      Fixes RHBZ#1979626
      032c41f8
  5. Jul 06, 2021
  6. May 26, 2021
    • Mark Hahl's avatar
      New automember management module · 0e0bdf1f
      Mark Hahl authored
          There is a new automember management module placed in the plugins folder:
      
              plugins/modules/ipaautomember.py
      
          The automember module allows to ensure presence or absence of automember rules
          and manage automember rule conditions.
      
          Here is the documentation for the module:
      
              README-automember.md
      
          New example playbooks have been added:
      
              playbooks/automember/automember-group-absent.yml
              playbooks/automember/automember-group-present.yml
              playbooks/automember/automember-hostgroup-absent.yml
              playbooks/automember/automember-hostgroup-present.yml
              playbooks/automember/automember-hostgroup-rule-absent.yml
              playbooks/automember/automember-hostgroup-rule-present.yml
      
          New tests for the module:
      
              tests/automember/test_automember.yml
      0e0bdf1f
Loading