mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
Update to 2025-03-25 14:00
This commit is contained in:
parent
6487e87614
commit
db994bdb99
@ -90,7 +90,8 @@
|
|||||||
tags: mysql
|
tags: mysql
|
||||||
|
|
||||||
- name: Set root password
|
- name: Set root password
|
||||||
command: mysqladmin password "{{ my_root_pass.stdout }}"
|
command: |
|
||||||
|
{{ mysql_engine == 'mysql' | ternary('mysqladmin', 'mariadb-admin') }} password "{{ my_root_pass.stdout }}"
|
||||||
when:
|
when:
|
||||||
- not my_no_cnf.stat.exists
|
- not my_no_cnf.stat.exists
|
||||||
- my_root_pass.stdout is defined
|
- my_root_pass.stdout is defined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user