Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • 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
  • v1.8.3
21 results

ipahbacrule.py

Blame
    • Rafael Guterres Jeffman's avatar
      19fc21cd
      hbacrule: Allow clearing members with empty lists. · 19fc21cd
      Rafael Guterres Jeffman authored
      If a hbacrule member has any value, the only way to clear it is by
      creating a task with 'state: absent' and 'action: member' and provide
      a list with all the values for that member.
      
      This patch allows the use of '<member>: []' with 'action: hbacrule'
      to clear a hbacrule member.
      
      A new test playbook can be found at:
      
          tests/hbacrule/test_hbacrule_member_empty.yml
      19fc21cd
      History
      hbacrule: Allow clearing members with empty lists.
      Rafael Guterres Jeffman authored
      If a hbacrule member has any value, the only way to clear it is by
      creating a task with 'state: absent' and 'action: member' and provide
      a list with all the values for that member.
      
      This patch allows the use of '<member>: []' with 'action: hbacrule'
      to clear a hbacrule member.
      
      A new test playbook can be found at:
      
          tests/hbacrule/test_hbacrule_member_empty.yml