mirror of
https://github.com/famedly/ansible-collection-services
synced 2024-11-10 05:54:14 +00:00
update(snipe-it): bump version to 6.0.7
This commit is contained in:
parent
24a14fdda9
commit
40eee20240
2 changed files with 20 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
# `famedly.internal.snipe-it` ansible role
|
||||
# `famedly.services.snipe-it` ansible role
|
||||
|
||||
Deploys [snipe-it](https://snipeitapp.com/) in a
|
||||
[docker container](https://snipe-it.readme.io/docs/docker)
|
||||
|
@ -6,11 +6,25 @@ and optionally a maria-db instance for storage.
|
|||
|
||||
## Requirements
|
||||
|
||||
- docker
|
||||
The role assumes a docker host is running on the target.
|
||||
|
||||
## Configuration
|
||||
|
||||
Note that host directories for persistent storage in `snipe_it_base_path` need
|
||||
to be owned by uid=1000, as the container creates and uses that userid.
|
||||
|
||||
The `snipe_it_config_app_key` needs to be generated using `php artisan key:generate --show`
|
||||
in the running container, and then manually populated again using the role.
|
||||
|
||||
It is likely that symfony will not pick up the correct scheme from `snipe_it_config_app_url`,
|
||||
for unknown reasons (correct `X-Forwarded-Proto`, `https` in app url, source IP in
|
||||
`snipe_it_config_app_trusted_proxies`). In this case, setting `APP_FORCE_TLS`
|
||||
in `snipe_it_config` will likely fix the issue.
|
||||
|
||||
## Role Variables
|
||||
|
||||
|| Name || Default value || Description ||
|
||||
| Name | Default value | Description |
|
||||
|---------------------------------------|-----------------|----------------------------------------------|
|
||||
| `snipe_it_config_app_key` | `~` | Laraval app key |
|
||||
| `snipe_it_config_app_url` | `~` | URL where snipeit runs |
|
||||
| `snipe_it_config_app_trusted_proxies` | `~` | Where your reverse proxies run |
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
|
||||
snipe_it_user: "snipe-it"
|
||||
snipe_it_version: 5.1.5
|
||||
snipe_it_version: 6.0.7
|
||||
snipe_it_base_path: "/opt/snipe-it"
|
||||
snipe_it_data_path: "{{ snipe_it_base_path }}/data"
|
||||
snipe_it_keys_path: "{{ snipe_it_base_path }}/keys"
|
||||
|
@ -21,7 +21,8 @@ snipe_it_config: {}
|
|||
# app configuration
|
||||
snipe_it_config_app_key: ~
|
||||
snipe_it_config_app_url: ~
|
||||
snipe_it_config_app_user: "{{ snipe_it_user }}"
|
||||
# container image creates a "docker" user by default with uid=1000
|
||||
snipe_it_config_app_user: "docker"
|
||||
snipe_it_config_app_timezone: 'Europe/London'
|
||||
snipe_it_config_app_locale: en
|
||||
snipe_it_config_app_trusted_proxies: ~
|
||||
|
|
Loading…
Reference in a new issue