mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-04 12:23:13 +02:00
Update to 2025-03-25 14:00
This commit is contained in:
parent
6487e87614
commit
db994bdb99
@ -90,7 +90,8 @@
|
||||
tags: mysql
|
||||
|
||||
- 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:
|
||||
- not my_no_cnf.stat.exists
|
||||
- my_root_pass.stdout is defined
|
||||
|
Loading…
x
Reference in New Issue
Block a user