diff --git a/create-grant-db.yml b/create-grant-db.yml index 71b54590..e6cf9cf7 100644 --- a/create-grant-db.yml +++ b/create-grant-db.yml @@ -26,7 +26,7 @@ login_user: "root" login_password: "secrete" login_host: "127.0.0.1" - name: "{{ db_name }}" + name: "{{ db_user | default(db_name) }}" password: "{{ db_password }}" host: "{{ item }}" state: "present"