Skip to content

Commit

Permalink
Nextcloud: Provision db
Browse files Browse the repository at this point in the history
  • Loading branch information
owine committed May 3, 2023
1 parent 12284f7 commit 7926557
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions roles/nextcloud/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
mariadb_paths_folder: "{{ nextcloud_name }}"
mariadb_paths_location: "{{ server_appdata_path }}/{{ mariadb_paths_folder }}/mariadb"

- name: MariaDB | Create invoiceninja database
community.mysql.mysql_db:
name: "{{ nextcloud_name }}"
login_host: "{{ nextcloud_name }}_mariadb"
login_user: "root"
login_password: "{{ mariadb_docker_env_password }}"
state: present

- name: Add DNS record
ansible.builtin.include_tasks: "{{ resources_tasks_path }}/dns/tasker.yml"
vars:
Expand Down

0 comments on commit 7926557

Please sign in to comment.