fix: replace no_log to loop label
This commit is contained in:
parent
837a6cce63
commit
51fbef2480
3 changed files with 5 additions and 4 deletions
|
@ -16,6 +16,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
- fix: remove default value for mariadb_password
|
- fix: remove default value for mariadb_password
|
||||||
- test: replace kitchen to molecule
|
- test: replace kitchen to molecule
|
||||||
- chore: use FQCN for module name
|
- chore: use FQCN for module name
|
||||||
|
- fix: replace no_log to loop label
|
||||||
|
|
||||||
## [v2.0.0] - 2019-06-05
|
## [v2.0.0] - 2019-06-05
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
state: absent
|
state: absent
|
||||||
login_user: '{{ mariadb_user }}'
|
login_user: '{{ mariadb_user }}'
|
||||||
login_password: '{{ mariadb_password }}'
|
login_password: '{{ mariadb_password }}'
|
||||||
no_log: true
|
|
||||||
tags: mariadb
|
tags: mariadb
|
||||||
|
|
||||||
- name: remove root user without password
|
- name: remove root user without password
|
||||||
|
@ -57,5 +56,4 @@
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
- '::1'
|
- '::1'
|
||||||
- '{{ ansible_nodename }}'
|
- '{{ ansible_nodename }}'
|
||||||
no_log: true
|
|
||||||
tags: mariadb
|
tags: mariadb
|
||||||
|
|
|
@ -49,8 +49,9 @@
|
||||||
login_user: '{{ mariadb_user }}'
|
login_user: '{{ mariadb_user }}'
|
||||||
login_password: '{{ mariadb_password }}'
|
login_password: '{{ mariadb_password }}'
|
||||||
loop: '{{ mariadb_users }}'
|
loop: '{{ mariadb_users }}'
|
||||||
|
loop_control:
|
||||||
|
label: '{{ item.name }}@{{ item.host }}'
|
||||||
run_once: true
|
run_once: true
|
||||||
no_log: true
|
|
||||||
when: mariadb_master|bool
|
when: mariadb_master|bool
|
||||||
tags: mariadb
|
tags: mariadb
|
||||||
|
|
||||||
|
@ -61,7 +62,8 @@
|
||||||
login_user: '{{ mariadb_user }}'
|
login_user: '{{ mariadb_user }}'
|
||||||
login_password: '{{ mariadb_password }}'
|
login_password: '{{ mariadb_password }}'
|
||||||
loop: '{{ mariadb_databases }}'
|
loop: '{{ mariadb_databases }}'
|
||||||
|
loop_control:
|
||||||
|
label: '{{ item.name }}'
|
||||||
run_once: true
|
run_once: true
|
||||||
no_log: true
|
|
||||||
when: mariadb_master|bool
|
when: mariadb_master|bool
|
||||||
tags: mariadb
|
tags: mariadb
|
||||||
|
|
Loading…
Reference in a new issue