Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mariadb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
mariadb
Commits
2ae89a09
Verified
Commit
2ae89a09
authored
1 year ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
internal variables added to arg spec
parent
8d7f182e
No related branches found
Branches containing commit
Tags
3.4.0
Tags containing commit
No related merge requests found
Pipeline
#29834
passed
1 year ago
Stage: bookworm
Stage: jammy
Stage: trixie
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
meta/argument_specs.yml
+8
-0
8 additions, 0 deletions
meta/argument_specs.yml
tasks/conf_section_edited.yml
+8
-8
8 additions, 8 deletions
tasks/conf_section_edited.yml
with
16 additions
and
8 deletions
meta/argument_specs.yml
+
8
−
0
View file @
2ae89a09
...
...
@@ -65,6 +65,14 @@ argument_specs:
elements
:
str
required
:
false
description
:
Internal list of proposed MariaDB configuration file variables that don't have values.
mariadb_cnf_variable_edited
:
type
:
dict
required
:
false
description
:
Internal results from using ini_file to write a variable variable in a config file.
mariadb_cnf_variable_uncommented
:
type
:
dict
required
:
false
description
:
Internal results from using lineinfile to uncomment a variable in a config file.
mariadb_config
:
type
:
list
elements
:
dict
...
...
This diff is collapsed.
Click to expand it.
tasks/conf_section_edited.yml
+
8
−
8
View file @
2ae89a09
...
...
@@ -80,7 +80,7 @@
mode
:
"
{{
mariadb_cnf.mode
|
default('0644')
}}"
owner
:
"
{{
mariadb_cnf.owner
|
default('root')
}}"
group
:
"
{{
mariadb_cnf.owner
|
default('root')
}}"
register
:
mariadb_c
o
nf_variable_uncommented
register
:
mariadb_cnf_variable_uncommented
when
:
>-
( mariadb_cnf_variable_pair.key not in mariadb_cnf_file_section_existing_keys ) or
( ( mariadb_cnf_variable_pair.value | type_debug != "NoneType" ) and
...
...
@@ -98,9 +98,9 @@
msg
:
MariaDB is to be restarted
notify
:
Restart mariadb
when
:
-
mariadb_c
o
nf_variable_uncommented is defined
-
mariadb_c
o
nf_variable_uncommented.changed is defined
-
mariadb_c
o
nf_variable_uncommented.changed | bool
-
mariadb_cnf_variable_uncommented is defined
-
mariadb_cnf_variable_uncommented.changed is defined
-
mariadb_cnf_variable_uncommented.changed | bool
-
mariadb_init is defined
-
mariadb_init == "systemd"
...
...
@@ -114,7 +114,7 @@
mode
:
"
{{
mariadb_cnf.mode
|
default('0644')
}}"
owner
:
"
{{
mariadb_cnf.owner
|
default('root')
}}"
group
:
"
{{
mariadb_cnf.owner
|
default('root')
}}"
register
:
mariadb_c
o
nf_variable_edited
register
:
mariadb_cnf_variable_edited
when
:
-
mariadb_cnf_variable_pair.key in mariadb_cnf_file_section_proposed_value_less_keys
-
mariadb_cnf_variable_pair.key not in mariadb_cnf_file_section_existing_keys
...
...
@@ -130,9 +130,9 @@
msg
:
MariaDB is to be restarted
notify
:
Restart mariadb
when
:
-
mariadb_c
o
nf_variable_edited is defined
-
mariadb_c
o
nf_variable_edited.changed is defined
-
mariadb_c
o
nf_variable_edited.changed | bool
-
mariadb_cnf_variable_edited is defined
-
mariadb_cnf_variable_edited.changed is defined
-
mariadb_cnf_variable_edited.changed | bool
-
mariadb_init is defined
-
mariadb_init == "systemd"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment