diff --git a/tasks/secure.yml b/tasks/secure.yml index 1dd6b25..f21a60f 100644 --- a/tasks/secure.yml +++ b/tasks/secure.yml @@ -4,7 +4,7 @@ mysql_user: user: root host: "{{item}}" - password: $mysql_root_password + password: "{{mysql_root_password}}" with_items: - "{{ansible_hostname}}" - 127.0.0.1 @@ -16,7 +16,7 @@ mysql_user: user: root host: "{{item}}" - password: $mysql_root_password + password: "{{mysql_root_password}}" with_items: - 127.0.0.1 - ::1