Skip to content

Commit

Permalink
[icingadb] added port param to mysql import fixes #267
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayontour committed Mar 1, 2024
1 parent 1f7ba22 commit 079f24d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/icingadb/tasks/manage_schema_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
ansible.builtin.set_fact:
mysqlcmd: >-
mysql {% if icingadb_database_host | default('localhost') != 'localhost' %} -h "{{ icingadb_database_host }}" {%- endif %}
{% if icingadb_database_port is defined %} -P {{ icingadb_database_port }} {%- endif %}
{% if icingadb_database_ca is defined %} --ssl-ca "{{ icingadb_database_ca }}" {%- endif %}
{% if icingadb_database_cert is defined %} --ssl-cert "{{ icingadb_database_cert }}" {%- endif %}
{% if icingadb_database_key is defined %} --ssl-key "{{ icingadb_database_key }}" {%- endif %}
Expand Down

0 comments on commit 079f24d

Please sign in to comment.