Skip to content

Commit

Permalink
Fix missing host parameter for wait_for module (#115) (#124)
Browse files Browse the repository at this point in the history
It fails if proxysql_admin_bind_address is overridden.

Co-authored-by: Jonathan Piron <jonathan@piron.at>
  • Loading branch information
markuman and jpiron authored Jan 3, 2023
1 parent 4224efc commit 290f4d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/115-wait-for-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- roles/proxysql - Fix wait_for task when `proxysql_admin_bind_address` is overridden (https://github.com/ansible-collections/community.proxysql/pull/115).
1 change: 1 addition & 0 deletions roles/proxysql/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

- name: proxysql | config | wait for proxysql
wait_for:
host: "{{ proxysql_admin_bind_address }}"
port: "{{ proxysql_admin_port }}"
state: started
timeout: 30
Expand Down

0 comments on commit 290f4d4

Please sign in to comment.