database modif gitea

This commit is contained in:
vincent 2019-04-23 18:34:18 +02:00
parent cb6f8913b0
commit 9325fbf62c
3 changed files with 10 additions and 13 deletions

View File

@ -89,20 +89,10 @@ php_extention_enable:
mysql_root_password: "{{ vault_mysql_root }}"
mysql_root_password_update: true
mysql_databases:
- name: gitea
collation: utf8mb4_unicode_ci
encoding: utf8mb4
# Users.
mysql_users:
- name: gitea
host: localhost
password: "{{ vault_mysql_gitea }}"
priv: gitea.*:ALL
- name: dump
host: localhost
password: "{{ vault_mysql_dump }}"
@ -110,6 +100,7 @@ mysql_users:
ttrss_db_password: "{{ vault_mysql_ttrss }}"
ttrss_log_destination: ""
ttrss_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/ttrss.sql
bind_listen_ipv4: ['any']
bind_allow_query: ['any']
@ -134,4 +125,5 @@ gitea_db_user: gitea
gitea_db_password: "{{ vault_mysql_gitea }}"
gitea_ssh_domain: "{{ansible_hostname}}"
gitea_start_ssh: false
gitea_ssh_port: 22
gitea_ssh_port: 22
gitea_SQl_target_file: /mnt/diskstation/git/backup/mysql/last/gitea.sql

View File

@ -1,2 +1,6 @@
##ansible_python_interpreter: /usr/bin/python2
##music_directory: '/mnt/diskstation/music'
ttrss_url_path: http://nas/tt-rss/
gitea_http_domain: nas
gitea_root_url: http://nas:3000

View File

@ -9,6 +9,7 @@
become: yes
roles:
- user_config
- ssmtp
- cronie
- rsyncd
@ -20,5 +21,5 @@
- php
- tt-rss
- gitea
- user_config