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

"Update PostgreSQL Server configuration settings" part doesn't work in create.yml of azure_manage_postgresql role

XMLWordPrintable

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

      "Update PostgreSQL Server configuration settings" part doesn't work in create.yml of azure_manage_postgresql role. Fails with error:

       

      TASK [cloud.azure_ops.azure_manage_postgresql : Update PostgreSQL Server configuration settings] ***

      failed: [testhost] (item={'name': 'deadlock_timeout', 'value': '2000'}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "deadlock_timeout", "value": "2000"}, "msg": "Error creating the Configuration instance: ('Unable to build a model: (\"Unable to deserialize to object: type, AttributeError: \\'str
      ' object has no attribute \\'get\\'\", AttributeError(\"\\'str
      ' object has no attribute \\'get\\'\")), DeserializationError: (\"Unable to deserialize to object: type, AttributeError: \\'str
      ' object has no attribute \\'get\\'\", AttributeError(\"\\'str
      ' object has no attribute \\'get\\'\"))', DeserializationError(\"Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'\", AttributeError(\"'str' object has no attribute 'get'\")))"}

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

              Created:
              Updated:
              Resolved: