|
|
@ -1,11 +1,11 @@ |
|
|
|
--- |
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
# Version to deploy |
|
|
|
# Version to deploy |
|
|
|
bookstack_version: 21.08.3 |
|
|
|
bookstack_version: 21.08.4 |
|
|
|
# URL of the arhive |
|
|
|
# URL of the arhive |
|
|
|
bookstack_archive_url: https://github.com/BookStackApp/BookStack/archive/v{{ bookstack_version }}.tar.gz |
|
|
|
bookstack_archive_url: https://github.com/BookStackApp/BookStack/archive/v{{ bookstack_version }}.tar.gz |
|
|
|
# Expected sha1 of the archive |
|
|
|
# Expected sha1 of the archive |
|
|
|
bookstack_archive_sha1: 1f860b8e91d6664446556c9b14b80a8c413c401e |
|
|
|
bookstack_archive_sha1: 3dd16d716344622ef539278d411808eceabbb301 |
|
|
|
|
|
|
|
|
|
|
|
# Should ansible handle bookstack upgrades or just the inintial install |
|
|
|
# Should ansible handle bookstack upgrades or just the inintial install |
|
|
|
bookstack_manage_upgrade: True |
|
|
|
bookstack_manage_upgrade: True |
|
|
@ -29,7 +29,14 @@ bookstack_web_alias: /bookstack_{{ bookstack_id }} |
|
|
|
|
|
|
|
|
|
|
|
# You can restrict access to bookstack. If not defined or empty, |
|
|
|
# You can restrict access to bookstack. If not defined or empty, |
|
|
|
# no restriction will be made |
|
|
|
# no restriction will be made |
|
|
|
bookstack_src_ip: [] |
|
|
|
bookstack_src_ip: "{{ httpd_ssl_src_ip | default(httpd_src_ip) | default([]) }}" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# List of trusted proxies from which we can trust the X-Forwarded-For header |
|
|
|
|
|
|
|
# Useful to get real client IP when BookStack is running behind a reverse proxy |
|
|
|
|
|
|
|
# bookstack_trusted_proxies: |
|
|
|
|
|
|
|
# - 10.99.2.10 |
|
|
|
|
|
|
|
# The default value is to use the same as bookstack_src_ip if it's not empty and doesn't contain 0.0.0.0/0 |
|
|
|
|
|
|
|
bookstack_trusted_proxies: "{{ (bookstack_src_ip | length > 0 and '0.0.0.0/0' not in bookstack_src_ip) | ternary(bookstack_src_ip, []) }}" |
|
|
|
|
|
|
|
|
|
|
|
# MySQL Database |
|
|
|
# MySQL Database |
|
|
|
bookstack_db_server: "{{ mysql_server | default('locaclhost') }}" |
|
|
|
bookstack_db_server: "{{ mysql_server | default('locaclhost') }}" |
|
|
|