Skip to content
Snippets Groups Projects
Verified Commit 5d0573ef authored by Chris Croome's avatar Chris Croome
Browse files

add mariadb_underscore_autoupdate variable

parent 07dd66b7
No related branches found
No related tags found
No related merge requests found
Pipeline #29210 failed
......@@ -100,5 +100,6 @@ mariadb_priv:
- UPDATE
# mariadb_username:
mariadb_underscore_autoupdate: false
mariadb_verify: true
...
......@@ -888,6 +888,10 @@ argument_specs:
type: dict
required: false
description: Internal result from stating the /root/timezoneinfo.sql file.
mariadb_underscore_autoupdate:
type: bool
required: true
description: Automatically update MariaDB configuration to change dashes to underscores without failing for manual check.
mariadb_upgrade:
type: dict
required: false
......
......@@ -37,4 +37,5 @@
mariadb: true
mariadb_database: ansible
mariadb_username: ansible
mariadb_underscore_autoupdate: true
...
......@@ -57,7 +57,9 @@
dashes are found so if there are none vaules with dashes won't be
touched, please manually check the results by running `diff --color
{{ mariadb_cnf_file_path_backup }} {{ mariadb_cnf.path }}`
when: mariadb_cnf_file_diff.rc is defined
when:
- mariadb_cnf_file_diff.rc is defined
- mariadb_underscore_autoupdate | bool
tags:
- mariadb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment