9 Commits
0.1.0 ... 0.1.2

8 changed files with 47 additions and 23 deletions

View File

@ -1,14 +1,14 @@
namespace: finallycoffee namespace: finallycoffee
name: services name: services
version: 0.1.0 version: 0.1.2
readme: README.md readme: README.md
authors: authors:
- transcaffeine <transcaffeine@finally.coffee> - transcaffeine <transcaffeine@finally.coffee>
description: Various ansible roles useful for automating infrastructure description: Various ansible roles useful for automating infrastructure
dependencies: dependencies:
"community.docker": "^1.10.0" "community.docker": "^3.0.0"
license_file: LICENSE.md license_file: LICENSE.md
build_ignore: build_ignore:
- '*.tar.gz' - '*.tar.gz'
repository: https://git.finally.coffee/finallycoffee/services repository: https://git.finally.coffee/finallycoffee/services
issues: https://git.finally.coffee/finallycoffee/services/issues issues: https://codeberg.org/finallycoffee/ansible-collection-services/issues

View File

@ -1,3 +1,3 @@
--- ---
requires_ansible: ">=2.12" requires_ansible: ">=2.15"

View File

@ -1,6 +1,6 @@
--- ---
authelia_version: 4.37.5 authelia_version: 4.38.15
authelia_user: authelia authelia_user: authelia
authelia_base_dir: /opt/authelia authelia_base_dir: /opt/authelia
authelia_domain: authelia.example.org authelia_domain: authelia.example.org
@ -14,9 +14,20 @@ authelia_notification_storage_file: "{{ authelia_data_dir }}/notifications.txt"
authelia_user_storage_file: "{{ authelia_data_dir }}/user_database.yml" authelia_user_storage_file: "{{ authelia_data_dir }}/user_database.yml"
authelia_container_name: authelia authelia_container_name: authelia
authelia_container_image_name: docker.io/authelia/authelia authelia_container_image_server: docker.io
authelia_container_image_namespace: authelia
authelia_container_image_name: authelia
authelia_container_image: >-2
{{
[
authelia_container_image_server,
authelia_container_image_namespace,
authelia_container_image_name
] | join('/')
}}
authelia_container_image_tag: ~ authelia_container_image_tag: ~
authelia_container_image_ref: "{{ authelia_container_image_name }}:{{ authelia_container_image_tag | default(authelia_version, true) }}" authelia_container_image_ref: >-2
{{ authelia_container_image }}:{{ authelia_container_image_tag | default(authelia_version, true) }}
authelia_container_image_force_pull: "{{ authelia_container_image_tag | default(false, True) }}" authelia_container_image_force_pull: "{{ authelia_container_image_tag | default(false, True) }}"
authelia_container_env: authelia_container_env:
PUID: "{{ authelia_run_user }}" PUID: "{{ authelia_run_user }}"
@ -42,6 +53,8 @@ authelia_config_jwt_secret: ~
authelia_config_default_redirection_url: ~ authelia_config_default_redirection_url: ~
authelia_config_server_host: 0.0.0.0 authelia_config_server_host: 0.0.0.0
authelia_config_server_port: "{{ authelia_container_listen_port }}" authelia_config_server_port: "{{ authelia_container_listen_port }}"
authelia_config_server_address: >-2
{{ authelia_config_server_host }}:{{ authelia_config_server_port }}
authelia_config_server_path: "" authelia_config_server_path: ""
authelia_config_server_asset_path: "/config/assets/" authelia_config_server_asset_path: "/config/assets/"
authelia_config_server_read_buffer_size: 4096 authelia_config_server_read_buffer_size: 4096
@ -149,8 +162,7 @@ authelia_config_storage_postgres_ssl_certificate: disable
authelia_config_storage_postgres_ssl_key: disable authelia_config_storage_postgres_ssl_key: disable
authelia_config_notifier_disable_startup_check: false authelia_config_notifier_disable_startup_check: false
authelia_config_notifier_filesystem_filename: ~ authelia_config_notifier_filesystem_filename: ~
authelia_config_notifier_smtp_host: "{{ authelia_smtp_host }}" authelia_config_notifier_smtp_address: "{{ authelia_smtp_host }}:{{ authelia_stmp_port }}"
authelia_config_notifier_smtp_port: "{{ authelia_stmp_port }}"
authelia_config_notifier_smtp_username: "{{ authelia_smtp_user }}" authelia_config_notifier_smtp_username: "{{ authelia_smtp_user }}"
authelia_config_notifier_smtp_password: "{{ authelia_smtp_pass }}" authelia_config_notifier_smtp_password: "{{ authelia_smtp_pass }}"
authelia_config_notifier_smtp_timeout: 5s authelia_config_notifier_smtp_timeout: 5s
@ -166,6 +178,12 @@ authelia_config_notifier_smtp_tls_minimum_version: "{{ authelia_tls_minimum_vers
authelia_database_type: ~ authelia_database_type: ~
authelia_database_host: ~ authelia_database_host: ~
authelia_database_port: ~
authelia_database_address: >-2
{{ authelia_database_host }}{{
(authelia_database_port | default(false, true) | bool)
| ternary(':' + authelia_database_port, '')
}}
authelia_database_user: authelia authelia_database_user: authelia
authelia_database_pass: ~ authelia_database_pass: ~
authelia_database_name: authelia authelia_database_name: authelia

View File

@ -48,9 +48,7 @@ authelia_base_config: >-2
authelia_config_server: >-2 authelia_config_server: >-2
{{ {{
{ {
"host": authelia_config_server_host, "address": authelia_config_server_address,
"port": authelia_config_server_port,
"path": authelia_config_server_path,
"asset_path": authelia_config_server_asset_path, "asset_path": authelia_config_server_asset_path,
"read_buffer_size": authelia_config_server_read_buffer_size, "read_buffer_size": authelia_config_server_read_buffer_size,
"write_buffer_size": authelia_config_server_write_buffer_size, "write_buffer_size": authelia_config_server_write_buffer_size,
@ -218,15 +216,13 @@ authelia_config_storage: >-2
authelia_config_storage_local: authelia_config_storage_local:
path: "{{ authelia_config_storage_local_path }}" path: "{{ authelia_config_storage_local_path }}"
authelia_config_storage_mysql: authelia_config_storage_mysql:
host: "{{ authelia_database_host }}" host: "{{ authelia_database_address }}"
port: "{{ authelia_config_storage_mysql_port }}"
database: "{{ authelia_database_name }}" database: "{{ authelia_database_name }}"
username: "{{ authelia_database_user }}" username: "{{ authelia_database_user }}"
password: "{{ authelia_database_pass }}" password: "{{ authelia_database_pass }}"
timeout: "{{ authelia_database_timeout }}" timeout: "{{ authelia_database_timeout }}"
authelia_config_storage_postgres: authelia_config_storage_postgres:
host: "{{ authelia_database_host }}" address: "{{ authelia_database_address }}"
port: "{{ authelia_config_storage_postgres_port }}"
database: "{{ authelia_database_name }}" database: "{{ authelia_database_name }}"
schema: public schema: public
username: "{{ authelia_database_user }}" username: "{{ authelia_database_user }}"
@ -250,8 +246,7 @@ authelia_config_notifier: >-2
authelia_config_notifier_filesystem: authelia_config_notifier_filesystem:
filename: "{{ authelia_config_notifier_filesystem_filename }}" filename: "{{ authelia_config_notifier_filesystem_filename }}"
authelia_config_notifier_smtp: authelia_config_notifier_smtp:
host: "{{ authelia_config_notifier_smtp_host }}" address: "{{ authelia_config_notifier_smtp_address }}"
port: "{{ authelia_config_notifier_smtp_port }}"
timeout: "{{ authelia_config_notifier_smtp_timeout }}" timeout: "{{ authelia_config_notifier_smtp_timeout }}"
username: "{{ authelia_config_notifier_smtp_username }}" username: "{{ authelia_config_notifier_smtp_username }}"
password: "{{ authelia_config_notifier_smtp_password }}" password: "{{ authelia_config_notifier_smtp_password }}"

View File

@ -1,7 +1,7 @@
--- ---
ghost_domain: ~ ghost_domain: ~
ghost_version: "5.78.0" ghost_version: "5.94.1"
ghost_user: ghost ghost_user: ghost
ghost_user_group: ghost ghost_user_group: ghost
ghost_base_path: /opt/ghost ghost_base_path: /opt/ghost

View File

@ -11,9 +11,20 @@ gitea_domain: ~
# container config # container config
gitea_container_name: "{{ gitea_user }}" gitea_container_name: "{{ gitea_user }}"
gitea_container_image_name: "docker.io/gitea/gitea" gitea_contianer_image_server: "docker.io"
gitea_container_image_name: "gitea"
gitea_container_image_namespace: gitea
gitea_container_image_fq_name: >-
{{
[
gitea_container_image_server,
gitea_container_image_namespace,
gitea_container_image_name
] | join('/')
}}
gitea_container_image_tag: "{{ gitea_version }}" gitea_container_image_tag: "{{ gitea_version }}"
gitea_container_image: "{{ gitea_container_image_name }}:{{ gitea_container_image_tag }}" gitea_container_image: >-2
{{ gitea_container_image_fq_name }}:{{ gitea_container_image_tag }}
gitea_container_networks: [] gitea_container_networks: []
gitea_container_purge_networks: ~ gitea_container_purge_networks: ~
gitea_container_restart_policy: "unless-stopped" gitea_container_restart_policy: "unless-stopped"

View File

@ -1,7 +1,7 @@
--- ---
jellyfin_user: jellyfin jellyfin_user: jellyfin
jellyfin_version: 10.9.8 jellyfin_version: 10.9.11
jellyfin_base_path: /opt/jellyfin jellyfin_base_path: /opt/jellyfin
jellyfin_config_path: "{{ jellyfin_base_path }}/config" jellyfin_config_path: "{{ jellyfin_base_path }}/config"

View File

@ -1,7 +1,7 @@
--- ---
vouch_proxy_user: vouch-proxy vouch_proxy_user: vouch-proxy
vouch_proxy_version: 0.39.0 vouch_proxy_version: 0.40.0
vouch_proxy_base_path: /opt/vouch-proxy vouch_proxy_base_path: /opt/vouch-proxy
vouch_proxy_config_path: "{{ vouch_proxy_base_path }}/config" vouch_proxy_config_path: "{{ vouch_proxy_base_path }}/config"
vouch_proxy_config_file: "{{ vouch_proxy_config_path }}/config.yaml" vouch_proxy_config_file: "{{ vouch_proxy_config_path }}/config.yaml"