mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 17:50:27 +00:00
FreeBSD: change root password
This commit is contained in:
parent
ec8b076cb9
commit
5e6708dd49
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ mysql_debconf:
|
|||
- pkg: {{ mysql.server }}
|
||||
- require:
|
||||
- pkg: mysql_debconf_utils
|
||||
{% elif os_family in ['RedHat', 'Suse'] %}
|
||||
{% elif os_family in ['RedHat', 'Suse', 'FreeBSD'] %}
|
||||
mysql_root_password:
|
||||
cmd.run:
|
||||
- name: mysqladmin --user {{ mysql_root_user }} password '{{ mysql_root_password|replace("'", "'\"'\"'") }}'
|
||||
|
|
Loading…
Add table
Reference in a new issue