Optimized names

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-04 15:07:04 +01:00
parent 40f6f7dc4f
commit 77a3fb220a

View File

@ -40,7 +40,7 @@
timeout: 300 timeout: 300
when: run_once_docker_mariadb is not defined when: run_once_docker_mariadb is not defined
- name: create database - name: "Create database: {{ database_databasename }}"
mysql_db: mysql_db:
name: "{{ database_databasename }}" name: "{{ database_databasename }}"
state: present state: present
@ -49,8 +49,7 @@
login_host: 127.0.0.1 login_host: 127.0.0.1
login_port: 3306 login_port: 3306
- name: "Create database user: {{ database_username }}"
- name: create database user
mysql_user: mysql_user:
name: "{{database_username}}" name: "{{database_username}}"
password: "{{database_password}}" password: "{{database_password}}"