Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4934

[ansible-freeipa] ipauser is not idempotent when random is defined

    • ansible-freeipa-1.12.1-1.el8
    • None
    • None
    • 1
    • rhel-sst-idm-ipa
    • ssg_idm
    • 24
    • 25
    • 3
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q1-Alpha-S4
    • If docs needed, set a value
    • None

      Description of problem:
      ipauser is not idempotent when random is defined

      Version-Release number of selected component (if applicable):
      1.8.3-2

      How reproducible:
      Example playbook:
      ```

      • name: User test_user present
        ipauser:
        ipaadmin_principal: "{{ principal_name }}"
        name: test_user
        first: Test
        last: User
        gid: 10000
        random: "false"
        state: present
        ```

      Steps to Reproduce:
      1. Run playbook first time
      2. Rerun playbook once again
      3.

      Actual results:
      Fails with traceback

      Expected results:
      Should report back "OK" as user already exists

      Additional info:

              rjeffman@redhat.com Rafael Jeffman
              rhn-support-jskacel Jindrich Skacel
              Rafael Jeffman Rafael Jeffman
              Varun Mylaraiah Varun Mylaraiah
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: