Update to 2021-02-05 19:00

master
Daniel Berteaud 4 years ago
parent c0ee0005fa
commit c5475b8881
  1. 6
      roles/ampache/defaults/main.yml
  2. 3
      roles/ampache/templates/ampache.cfg.php.j2
  3. 2
      roles/ampache/templates/php.conf.j2
  4. 2
      roles/n8n/defaults/main.yml
  5. 2
      roles/n8n/tasks/archive_post.yml
  6. 2
      roles/n8n/tasks/archive_pre.yml
  7. 1
      roles/n8n/tasks/install.yml

@ -3,10 +3,10 @@
ampache_id: "1" ampache_id: "1"
ampache_manage_upgrade: True ampache_manage_upgrade: True
ampache_version: '4.2.6' ampache_version: '4.3.0'
ampache_config_version: 45 ampache_config_version: 46
ampache_zip_url: https://github.com/ampache/ampache/releases/download/{{ ampache_version }}/ampache-{{ ampache_version }}_all.zip ampache_zip_url: https://github.com/ampache/ampache/releases/download/{{ ampache_version }}/ampache-{{ ampache_version }}_all.zip
ampache_zip_sha1: 00568fda3cd47c8f9fc68a6ee333d60155f28b18 ampache_zip_sha1: d8ffee09a0dd45b68ac678fa1f043f63ff7a0949
ampache_root_dir: /opt/ampache_{{ ampache_id }} ampache_root_dir: /opt/ampache_{{ ampache_id }}

@ -37,7 +37,7 @@ require_localnet_session = "true"
metadata_order = "{{ ampache_metadata_order }}" metadata_order = "{{ ampache_metadata_order }}"
getid3_tag_order = "id3v2,id3v1,vorbiscomment,quicktime,matroska,ape,asf,avi,mpeg,riff" getid3_tag_order = "id3v2,id3v1,vorbiscomment,quicktime,matroska,ape,asf,avi,mpeg,riff"
deferred_ext_metadata = "false" deferred_ext_metadata = "false"
additional_genre_delimiters = "[/]{2}|[/|\\\\|\|,|;]" additional_genre_delimiters = "[/]{2}|[/\\\\|,;]"
catalog_file_pattern = "mp3|mpc|m4p|m4a|aac|ogg|oga|wav|aif|aiff|rm|wma|asf|flac|opus|spx|ra|ape|shn|wv" catalog_file_pattern = "mp3|mpc|m4p|m4a|aac|ogg|oga|wav|aif|aiff|rm|wma|asf|flac|opus|spx|ra|ape|shn|wv"
catalog_video_pattern = "avi|mpg|mpeg|flv|m4v|mp4|webm|mkv|wmv|ogv|mov|divx|m2ts" catalog_video_pattern = "avi|mpg|mpeg|flv|m4v|mp4|webm|mkv|wmv|ogv|mov|divx|m2ts"
catalog_playlist_pattern = "m3u|m3u8|pls|asx|xspf" catalog_playlist_pattern = "m3u|m3u8|pls|asx|xspf"
@ -130,3 +130,4 @@ proxy_port = "{{ system_proxy | urlsplit('port') }}"
proxy_user = "{{ system_proxy | urlsplit('username') }}" proxy_user = "{{ system_proxy | urlsplit('username') }}"
proxy_pass = "{{ system_proxy | urlsplit('password') }}" proxy_pass = "{{ system_proxy | urlsplit('password') }}"
{% endif %} {% endif %}

@ -27,7 +27,7 @@ php_admin_value[upload_tmp_dir] = {{ ampache_root_dir }}/tmp
php_admin_value[sys_temp_dir] = {{ ampache_root_dir }}/tmp php_admin_value[sys_temp_dir] = {{ ampache_root_dir }}/tmp
php_admin_value[post_max_size] = 5M php_admin_value[post_max_size] = 5M
php_admin_value[upload_max_filesize] = 5M php_admin_value[upload_max_filesize] = 5M
php_admin_value[disable_functions] = system, show_source, symlink, exec, dl, shell_exec, passthru, phpinfo, escapeshellarg, escapeshellcmd php_admin_value[disable_functions] = system, show_source, symlink, dl, shell_exec, passthru, phpinfo, escapeshellarg, escapeshellcmd
php_admin_value[open_basedir] = {{ ampache_root_dir }} php_admin_value[open_basedir] = {{ ampache_root_dir }}
php_admin_value[max_execution_time] = 1800 php_admin_value[max_execution_time] = 1800
php_admin_value[max_input_time] = 60 php_admin_value[max_input_time] = 60

@ -1,7 +1,7 @@
--- ---
# Version to deploy # Version to deploy
n8n_version: 0.105.0 n8n_version: 0.106.0
# Root directory where n8n will be installed # Root directory where n8n will be installed
n8n_root_dir: /opt/n8n n8n_root_dir: /opt/n8n
# User account under which n8n will run # User account under which n8n will run

@ -5,6 +5,6 @@
environment: environment:
ZST_CLEVEL: 10 ZST_CLEVEL: 10
args: args:
chdir: "{{ n8n_archive_dir }}" chdir: "{{ n8n_root_dir }}/archives/{{ n8n_current_version }}"
warn: False warn: False
tags: n8n tags: n8n

@ -22,7 +22,7 @@
- name: Dump the database - name: Dump the database
mysql_db: mysql_db:
state: dump state: dump
name: "{{ item }}" name: "{{ n8n_db_name }}"
target: "{{ n8n_root_dir }}/archives/{{ n8n_current_version }}/{{ n8n_db_name }}.sql.xz" target: "{{ n8n_root_dir }}/archives/{{ n8n_current_version }}/{{ n8n_db_name }}.sql.xz"
login_host: "{{ n8n_db_server }}" login_host: "{{ n8n_db_server }}"
login_port: "{{ n8n_db_port }}" login_port: "{{ n8n_db_port }}"

@ -19,6 +19,7 @@
environment: environment:
- npm_config_python: /bin/python3 # This is needed for sqlite3 build - npm_config_python: /bin/python3 # This is needed for sqlite3 build
become_user: "{{ n8n_user }}" become_user: "{{ n8n_user }}"
notify: restart n8n
tags: n8n tags: n8n
# Create the database # Create the database

Loading…
Cancel
Save