Skip to content

Commit

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

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

- name: Get next available port within the range of '9987-9997' # noqa fqcn[action]
find_next_open_port:
low_bound: 9987
Expand Down

0 comments on commit 3ee5fa2

Please sign in to comment.