Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
databases
Commits
3184eeff
Commit
3184eeff
authored
Jun 13, 2020
by
Thomas Schneider
Browse files
mysql: Fix lint errors
parent
d1cfa497
Changes
2
Hide whitespace changes
Inline
Side-by-side
mysql/defaults/main.yml
View file @
3184eeff
...
...
@@ -4,4 +4,5 @@
mysql_root_password
:
"
{{
lookup('passwordstore',
'db/{{
ansible_hostname
}}-mysql
create=true
length=20')
}}"
mysql_backup_user
:
"
backup"
# yamllint disable-line rule:line-length
mysql_backup_password
:
"
{{
lookup('passwordstore',
'db/{{
ansible_hostname
}}-mysql-backup
create=true
length=20')
}}"
mysql/tasks/main.yml
View file @
3184eeff
...
...
@@ -45,7 +45,7 @@
-
name
:
ensure the backup procedure can access the backup password
template
:
src
:
my.cnf
dest
:
"
/root/.mysql-{{mysql_backup_user}}.cnf"
dest
:
"
/root/.mysql-{{
mysql_backup_user
}}.cnf"
owner
:
root
group
:
root
mode
:
'
0600'
...
...
@@ -70,4 +70,3 @@
file
:
path
:
/etc/cron.d/mysql-snapshot
state
:
absent
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment