mysql: add quotes in a few tasks

This commit is contained in:
Jérémy Lecour 2018-07-09 16:01:57 +02:00 committed by Jérémy Lecour
parent 1439fdab8f
commit ec12948398
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@
create: yes
with_items:
- { option: 'user', value: 'mysqladmin' }
- { option: password, value: '{{ mysql_admin_password.stdout }}' }
- { option: 'password', value: '{{ mysql_admin_password.stdout }}' }
when: create_mysqladmin_user | changed
tags:
- mysql
@ -73,7 +73,7 @@
with_nested:
- [ "client", "mysql_upgrade" ]
- [ { option: 'user', value: 'debian-sys-maint' },
{ option: password, value: '{{ mysql_debian_password.stdout }}' }
{ option: 'password', value: '{{ mysql_debian_password.stdout }}' }
]
when: create_debian_user | changed
tags:

View File

@ -76,7 +76,7 @@
with_nested:
- [ "client", "mysql_upgrade" ]
- [ { option: 'user', value: 'debian-sys-maint' },
{ option: password, value: '{{ mysql_debian_password.stdout }}' }
{ option: 'password', value: '{{ mysql_debian_password.stdout }}' }
]
when: create_debian_user.changed
tags: