Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipahbacrule.py

  • Thomas Woerner's avatar
    a70cfcf4
    ipahbacrule.py: Reduce member changes to only needed ones · a70cfcf4
    Thomas Woerner authored
    Currently user, group, host, hostgoup, hbacsvc and hbacsvcgroup members
    are always added and removed with hbacrule_add_.. and hbacrule_remove_..
    if they are given as parameters with action: member.
    
    Now the module is using the new functions gen_intersection_list and
    gen_add_list from ansible_freeipa_module to reduce the lists to the items
    only that are needed to be added or removed.
    
    The errors "already a member" and "not a member" are not ignored
    anymore now while executing the comamnds.
    a70cfcf4
    History
    ipahbacrule.py: Reduce member changes to only needed ones
    Thomas Woerner authored
    Currently user, group, host, hostgoup, hbacsvc and hbacsvcgroup members
    are always added and removed with hbacrule_add_.. and hbacrule_remove_..
    if they are given as parameters with action: member.
    
    Now the module is using the new functions gen_intersection_list and
    gen_add_list from ansible_freeipa_module to reduce the lists to the items
    only that are needed to be added or removed.
    
    The errors "already a member" and "not a member" are not ignored
    anymore now while executing the comamnds.