mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
Replaced redirects by origine to raise performance
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
- name: Create Docker network for MariaDB
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: "{{ mariadb_network_name }}"
|
||||
state: present
|
||||
ipam_config:
|
||||
- subnet: "{{ mariadb_subnet }}"
|
||||
|
||||
- name: install MariaDB
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: "{{ mariadb_name }}"
|
||||
image: "{{ mariadb_image }}:{{ mariadb_version}}"
|
||||
detach: yes
|
||||
|
@@ -1,5 +1,5 @@
|
||||
- name: "Create database: {{ database_name }}"
|
||||
mysql_db:
|
||||
community.mysql.mysql_db:
|
||||
name: "{{ database_name }}"
|
||||
state: present
|
||||
login_user: root
|
||||
@@ -10,7 +10,7 @@
|
||||
collation: "{{ database_collation }}"
|
||||
|
||||
- name: "Create database user: {{ database_username }}"
|
||||
mysql_user:
|
||||
community.mysql.mysql_user:
|
||||
name: "{{database_username}}"
|
||||
password: "{{database_password}}"
|
||||
host: "%"
|
||||
|
Reference in New Issue
Block a user