Skip to content

Commit

Permalink
Don't create DBs
Browse files Browse the repository at this point in the history
  • Loading branch information
owine committed Jan 30, 2024
1 parent d22106e commit 804dd74
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
8 changes: 0 additions & 8 deletions roles/koel/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,6 @@
mariadb_paths_folder: "{{ koel_name }}"
mariadb_paths_location: "{{ server_appdata_path }}/{{ koel_paths_folder }}/db"

- name: MariaDB | Create koel database
community.mysql.mysql_db:
name: "{{ koel_name }}"
login_host: "{{ koel_name }}_mariadb"
login_user: "{{ mariadb_docker_env_user }}"
login_password: "{{ mariadb_docker_env_password }}"
state: present

- name: Check if db folder exists
ansible.builtin.stat:
path: "{{ koel_paths_location }}/vars.ini"
Expand Down
9 changes: 0 additions & 9 deletions roles/plexshare/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@
mariadb_paths_folder: "{{ plexshare_name }}"
mariadb_paths_location: "{{ server_appdata_path }}/{{ plexshare_paths_folder }}/mariadb"

- name: MariaDB | Create plexshare database
community.mysql.mysql_db:
name: "{{ plexshare_name }}"
login_host: "{{ plexshare_name }}_mariadb"
login_user: "{{ mariadb_docker_env_user }}"
login_password: "{{ mariadb_docker_env_password }}"
state: present
when: not stat_plexshare_db_folder.stat.exists

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

0 comments on commit 804dd74

Please sign in to comment.