Uploaded image for project: 'Ansible Cloud Automation'
  1. Ansible Cloud Automation
  2. ACA-1601

Unclear password complexity requirements in the received error for the azure_manage_postgresql role

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • Unspecified
    • azure, content
    • None
    • Moderate

      Unclear password complexity requirements in the received error for the azure_manage_postgresql role:

       

      While writing the integration test for the `azure_manage_postgresql` role, I encountered an issue where I received an unclear error about a non-complex password. However, there is no information provided about the required password complexity. In my opinion, this is not a user-friendly experience.

      Error: TASK [cloud.azure_ops.azure_manage_postgresql : Create/Update PostgreSQL Server] ***
      fatal: [testhost]: FAILED! => {"changed": false, "msg": "Error creating the PostgreSQL Server instance: (PasswordNotComplex) Password validation failed. The password does not meet policy requirements because it is not complex enough.\nCode: PasswordNotComplex\nMessage: Password validation failed. The password does not meet policy requirements because it is not complex enough."}

            hyaish Hen Yaish
            prabinov Polina Rabinovich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: