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

ansible-freeipa

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Rafael Guterres Jeffman authored
    When trying to ensure 'state: absent' with 'preserved: yes' in ipauser,
    after the first execution the playbook would fail with "user is already
    present". Similar idempotence issue would happen when 'state: undelete'
    was used.
    
    This PR fixes both issues, and improve tests for the states where user
    is preserved, enabled and disabled. The 'find_user' function now uses
    IPA API 'user_show' instead of 'user_find' so that only the requested
    user is actually returned.
    7f61e72a
    History
    Name Last commit Last update