Premier commit

This commit is contained in:
gitea committed 2026-10-18 16:41:04 +02:00
commit 518c7ab04b
49 files changed
+1120

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
---
# MariaDB/tasks/import_sql.yml
- name: "Copy Script.sql"
copy:
src: "{{ role_path }}/files/{{ sql_script_file }}"
dest: "/tmp/"
owner: "ansible"
group: "ansible"
- name: Import SQL script
mysql_db:
name: "{{ mariadb_database }}"
state: import
login_user: root
login_password: "{{ mariadb_root_password }}"
target: "/tmp/{{ sql_script_file }}"
# target: "{{ role_path }}/files/{{ sql_script_file }}"
notify: restart mariadb