Skip to content

Commit

Permalink
Fix naming IcingaDB schema tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2497 committed Oct 10, 2023
1 parent 6873d02 commit dacedc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions roles/icingadb/tasks/manage_schema_mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
-p"{{ icingadb_database_password }}"
"{{ icingadb_database_name | default('icingadb') }}"
- name: MySQL check for IDO schema
- name: MySQL check for IcingaDB schema
ansible.builtin.shell: >
{{ mysqlcmd }}
-Ns -e "select version from icingadb_schema"
Expand All @@ -21,7 +21,7 @@
check_mode: false
register: _db_schema

- name: MySQL import IDO schema
- name: MySQL import IcingaDB schema
ansible.builtin.shell: >
{{ mysqlcmd }}
< {{ icingadb_database_schema }}
Expand Down
4 changes: 2 additions & 2 deletions roles/icingadb/tasks/manage_schema_pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{% if icingadb_database_key is defined %} sslkey={{ icingadb_database_key }} {%- endif %}
{% if icingadb_database_ssl_extra_options is defined %} {{ icingadb_database_ssl_extra_options }} {%- endif %}"
- name: PgSQL check for DB schema
- name: PgSQL check for IcingaDB schema
ansible.builtin.shell: >
{{ _tmp_pgsqlcmd }}
-w -c "select version from icingadb_schema"
Expand All @@ -25,7 +25,7 @@
check_mode: false
register: _db_schema

- name: PgSQL import DB schema
- name: PgSQL import IcingaDB schema
ansible.builtin.shell: >
{{ _tmp_pgsqlcmd }}
-w -f {{ icingadb_database_schema }}
Expand Down

0 comments on commit dacedc4

Please sign in to comment.