File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1+ minor_changes :
2+ - roles/proxysql - Add support for configuring rest API (https://github.com/ansible-collections/community.proxysql/pull/110).
Original file line number Diff line number Diff line change @@ -48,10 +48,11 @@ proxysql_admin_stats_mysql_connection_pool: 60
4848proxysql_admin_stats_mysql_connections : 60
4949proxysql_admin_stats_mysql_query_cache : 60
5050
51- # web interface
51+ # web interface and rest API
5252proxysql_admin_web_enabled : false
5353proxysql_admin_web_port : 6080
54-
54+ proxysql_admin_restapi_enabled : false
55+ proxysql_admin_restapi_port : 6070
5556
5657# ## mysql variables
5758proxysql_mysql_bind_address : 0.0.0.0
Original file line number Diff line number Diff line change @@ -75,6 +75,12 @@ proxysql_admin_variables:
7575 refresh_interval :
7676 variable : " refresh_interval"
7777 variable_value : " {{ proxysql_admin_refresh_interval }}"
78+ restapi_enabled :
79+ variable : " restapi_enabled"
80+ variable_value : " {{ proxysql_admin_restapi_enabled | to_json }}"
81+ restapi_port :
82+ variable : " restapi_port"
83+ variable_value : " {{ proxysql_admin_restapi_port }}"
7884 stats_credentials :
7985 variable : " stats_credentials"
8086 variable_value : " {{ proxysql_admin_stats_user }}:{{ proxysql_admin_stats_password }}"
You can’t perform that action at this time.
0 commit comments