Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptation of integration tests for downstream CI #95

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/20241109-azure_manage_postgresql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Fixed the undefined variables issue in the create.yml and delete.yml of azure_manage_postgresql role.
2 changes: 1 addition & 1 deletion roles/azure_manage_postgresql/tasks/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
value: "{{ item.value }}"
with_items: "{{ azure_manage_postgresql_postgresql_settings }}"
when:
- azure_manage_postgresql_postgresql_settings | length > 0
- azure_manage_postgresql_postgresql_settings | default([]) | length > 0

- name: Update PostgreSQL Server Firewall rules
azure.azcollection.azure_rm_postgresqlfirewallrule:
Expand Down
2 changes: 1 addition & 1 deletion roles/azure_manage_postgresql/tasks/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name: "{{ item.name }}"
value: "{{ item.value }}"
state: absent
with_items: "{{ azure_manage_postgresql_postgresql_settings }}"
with_items: "{{ azure_manage_postgresql_postgresql_settings | default([]) }}"

- name: Delete PostgreSQL Server Firewall rules
azure.azcollection.azure_rm_postgresqlfirewallrule:
Expand Down
Loading