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

Undefined var in the create.yml of the azure_manage_postgresql role

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • Unspecified
    • azure, content
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate

      For azure_manage_postgresql role, there is undefined var (azure_manage_postgresql_postgresql_settings) in the create.yml file (task - name: Update PostgreSQL Server configuration settings)

       

      While running the integration test, I got such failure:

      TASK [cloud.azure_ops.azure_manage_postgresql : Update PostgreSQL Server configuration settings] *** task path: /usr/share/ansible/collections/ansible_collections/cloud/azure_ops/roles/azure_manage_postgresql/tasks/create.yml:59 The conditional check 'azure_manage_postgresql_postgresql_settings | length > 0' failed. The error was: error while evaluating conditional (azure_manage_postgresql_postgresql_settings | length > 0): 'azure_manage_postgresql_postgresql_settings' is undefined. 'azure_manage_postgresql_postgresql_settings' is undefined

              prabinov Polina Rabinovich
              prabinov Polina Rabinovich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: