✨: move phpbb to app dir
This commit is contained in:
45
roles/phpbb/vars/main.yml
Normal file
45
roles/phpbb/vars/main.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
|
||||
phpbb_version: "3.3.15"
|
||||
phpbb_minor_version: "{{ phpbb_version | regex_replace('^([0-9])\\.([0-9]*).*', '\\1.\\2') }}"
|
||||
phpbb_major_version: "{{ phpbb_version | regex_replace('^([0-9])\\..*', '\\1') }}"
|
||||
|
||||
phpbb_url: "https://download.phpbb.com/pub/release/{{ phpbb_minor_version }}/{{ phpbb_version }}/phpBB-{{ phpbb_version }}.tar.bz2"
|
||||
phpbb_access_url: "{{ web_hostname | selectattr('type', 'defined') | selectattr('type', '==', 'phpbb') | map(attribute='host') | first }}"
|
||||
|
||||
# Access path
|
||||
phpbb_app_home: "/var/www/{{ phpbb_access_url }}"
|
||||
phpbb_data_home: "/srv/www-data/{{ phpbb_access_url }}"
|
||||
|
||||
phpbb_writable_app_dirs:
|
||||
- cache
|
||||
- store
|
||||
phpbb_userdata_app_dirs:
|
||||
- files
|
||||
- images
|
||||
|
||||
phpbb_styles:
|
||||
- name: black
|
||||
version: 3.3.12
|
||||
url: "https://github.com/cabot/black/archive/refs/tags/v%VERSION%.tar.gz"
|
||||
|
||||
|
||||
phpbb_languages:
|
||||
- name: fr
|
||||
version: 4.15.0
|
||||
url: "https://github.com/qiaeru/phpbb-language-fr/archive/refs/tags/v%VERSION%.tar.gz"
|
||||
|
||||
phpbb_exts:
|
||||
- name: externallink
|
||||
path: martin/externallinkinnewwindow
|
||||
version: 1.2.0
|
||||
url: "https://github.com/Mar-tin-G/ExternalLinkInNewWindow/archive/refs/tags/%VERSION%.tar.gz"
|
||||
- name: mediaembed
|
||||
path: phpbb/mediaembed
|
||||
version: 2.0.2
|
||||
url: "https://github.com/phpbb-extensions/mediaembed/archive/refs/tags/%VERSION%.tar.gz"
|
||||
extra_files:
|
||||
- src: files/mastodon.yml
|
||||
dest: collection/sites/mastodon.yml
|
||||
- src: files/dojopeertube.yml
|
||||
dest: collection/sites/dojopeertube.yml
|
Reference in New Issue
Block a user