fix: replace no_log to loop label

This commit is contained in:
Adrien Waksberg 2021-08-22 16:11:11 +02:00 committed by Adrien Waksberg
parent 837a6cce63
commit 51fbef2480
3 changed files with 5 additions and 4 deletions

View file

@ -16,6 +16,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- fix: remove default value for mariadb_password
- test: replace kitchen to molecule
- chore: use FQCN for module name
- fix: replace no_log to loop label
## [v2.0.0] - 2019-06-05

View file

@ -43,7 +43,6 @@
state: absent
login_user: '{{ mariadb_user }}'
login_password: '{{ mariadb_password }}'
no_log: true
tags: mariadb
- name: remove root user without password
@ -57,5 +56,4 @@
- 127.0.0.1
- '::1'
- '{{ ansible_nodename }}'
no_log: true
tags: mariadb

View file

@ -49,8 +49,9 @@
login_user: '{{ mariadb_user }}'
login_password: '{{ mariadb_password }}'
loop: '{{ mariadb_users }}'
loop_control:
label: '{{ item.name }}@{{ item.host }}'
run_once: true
no_log: true
when: mariadb_master|bool
tags: mariadb
@ -61,7 +62,8 @@
login_user: '{{ mariadb_user }}'
login_password: '{{ mariadb_password }}'
loop: '{{ mariadb_databases }}'
loop_control:
label: '{{ item.name }}'
run_once: true
no_log: true
when: mariadb_master|bool
tags: mariadb