Skip to content

Commit 7926557

Browse files
committed
Nextcloud: Provision db
1 parent 12284f7 commit 7926557

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

roles/nextcloud/tasks/main.yml

+8
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
mariadb_paths_folder: "{{ nextcloud_name }}"
1717
mariadb_paths_location: "{{ server_appdata_path }}/{{ mariadb_paths_folder }}/mariadb"
1818

19+
- name: MariaDB | Create invoiceninja database
20+
community.mysql.mysql_db:
21+
name: "{{ nextcloud_name }}"
22+
login_host: "{{ nextcloud_name }}_mariadb"
23+
login_user: "root"
24+
login_password: "{{ mariadb_docker_env_password }}"
25+
state: present
26+
1927
- name: Add DNS record
2028
ansible.builtin.include_tasks: "{{ resources_tasks_path }}/dns/tasker.yml"
2129
vars:

0 commit comments

Comments
 (0)