Skip to content

Commit

Permalink
various: Standardize settings location in defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Feb 11, 2024
1 parent e6f0b4f commit ef1fb74
Show file tree
Hide file tree
Showing 19 changed files with 59 additions and 55 deletions.
2 changes: 1 addition & 1 deletion roles/authelia/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
authelia_name: authelia

################################
# Configuration
# Settings
################################

# Options are light, dark, grey or auto.
Expand Down
2 changes: 1 addition & 1 deletion roles/cloudplow/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##########################################################################
---
################################
# Name
# Basics
################################

cloudplow_name: cloudplow
Expand Down
10 changes: 7 additions & 3 deletions roles/emby/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@

emby_instances: ["emby"]

################################
# Settings
################################

emby_config_cache_size: 1024

################################
# Paths
################################
Expand Down Expand Up @@ -72,11 +78,9 @@ emby_themepark_enabled: false
emby_themepark_theme: "{{ global_themepark_theme }}"

################################
# Settings
# Config
################################

emby_config_cache_size: 1024

emby_config_settings_default:
- { xpath: 'IsBehindProxy', value: 'true' }
- { xpath: 'WanDdns', value: '{{ lookup("vars", emby_name + "_web_subdomain", default=emby_web_subdomain) }}.{{ lookup("vars", emby_name + "_web_domain", default=emby_web_domain) }}' }
Expand Down
2 changes: 1 addition & 1 deletion roles/jellyfin/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jellyfin_traefik_api_endpoint: ""
jellyfin_traefik_gzip_enabled: false

################################
# Settings
# Config
################################

# System
Expand Down
2 changes: 1 addition & 1 deletion roles/lidarr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
lidarr_instances: ["lidarr"]

################################
# Configuration
# Settings
################################

lidarr_external_auth: true
Expand Down
2 changes: 1 addition & 1 deletion roles/lldap/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
lldap_name: "lldap"

################################
# Configuration
# Settings
################################

# Toggles if the configuration template uses SMTP or not.
Expand Down
16 changes: 8 additions & 8 deletions roles/mariadb/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

mariadb_instances: ["mariadb"]

################################
# Settings
################################

mariadb_docker_env_password: "password321"
mariadb_docker_env_user: "{{ user.name }}"
mariadb_docker_env_db: "saltbox"

################################
# Paths
################################
Expand All @@ -22,14 +30,6 @@ mariadb_paths_location: "{{ server_appdata_path }}/{{ mariadb_paths_folder }}"
mariadb_paths_folders_list:
- "{{ mariadb_paths_location }}"

################################
# Settings
################################

mariadb_docker_env_password: "password321"
mariadb_docker_env_user: "{{ user.name }}"
mariadb_docker_env_db: "saltbox"

################################
# Migration Settings
################################
Expand Down
14 changes: 7 additions & 7 deletions roles/netdata/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@
# GNU General Public License v3.0 #
##########################################################################
---
################################
# Docker Socket Proxy
################################

netdata_docker_socket_proxy_envs:
CONTAINERS: "1"

################################
# Basics
################################
Expand All @@ -28,6 +21,13 @@ netdata_claim_token: ""
netdata_claim_url: ""
netdata_claim_room: ""

################################
# Docker Socket Proxy
################################

netdata_docker_socket_proxy_envs:
CONTAINERS: "1"

################################
# Paths
################################
Expand Down
14 changes: 7 additions & 7 deletions roles/organizr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@

organizr_name: organizr

################################
# Settings
################################

organizr_branch: "v2-master"
organizr_fpm: "yes"

################################
# Paths
################################
Expand Down Expand Up @@ -41,13 +48,6 @@ organizr_dns_record: "{{ organizr_web_subdomain }}"
organizr_dns_zone: "{{ organizr_web_domain }}"
organizr_dns_proxy: "{{ dns.proxied }}"

################################
# Settings
################################

organizr_branch: "v2-master"
organizr_fpm: "yes"

################################
# Traefik
################################
Expand Down
12 changes: 6 additions & 6 deletions roles/overseerr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@

overseerr_instances: ["overseerr"]

################################
# Settings
################################

overseerr_log_level: "info"

################################
# Paths
################################
Expand Down Expand Up @@ -44,12 +50,6 @@ overseerr_dns_record: "{{ lookup('vars', overseerr_name + '_web_subdomain', defa
overseerr_dns_zone: "{{ lookup('vars', overseerr_name + '_web_domain', default=overseerr_web_domain) }}"
overseerr_dns_proxy: "{{ dns.proxied }}"

################################
# Settings
################################

overseerr_log_level: "info"

################################
# Traefik
################################
Expand Down
2 changes: 1 addition & 1 deletion roles/plex/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plex_instances: ["plex"]

################################
# Configuration
# Settings
################################

plex_username: "{{ plex.user }}"
Expand Down
8 changes: 4 additions & 4 deletions roles/portainer/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
##########################################################################
---
################################
# Configuration
# Basics
################################

portainer_business_edition: false
portainer_name: portainer

################################
# Basics
# Settings
################################

portainer_name: portainer
portainer_business_edition: false

################################
# Paths
Expand Down
16 changes: 8 additions & 8 deletions roles/postgres/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@

postgres_instances: ["postgres"]

################################
# Settings
################################

postgres_docker_env_password: "password4321"
postgres_docker_env_user: "{{ user.name }}"
postgres_docker_env_db: "saltbox"

################################
# Paths
################################
Expand All @@ -22,14 +30,6 @@ postgres_paths_location: "{{ server_appdata_path }}/{{ postgres_paths_folder }}"
postgres_paths_folders_list:
- "{{ postgres_paths_location }}"

################################
# Settings
################################

postgres_docker_env_password: "password4321"
postgres_docker_env_user: "{{ user.name }}"
postgres_docker_env_db: "saltbox"

################################
# Docker
################################
Expand Down
2 changes: 1 addition & 1 deletion roles/prowlarr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
prowlarr_name: prowlarr

################################
# Configuration
# Settings
################################

prowlarr_external_auth: true
Expand Down
2 changes: 1 addition & 1 deletion roles/qbittorrent/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ qbittorrent_instances: ["qbittorrent"]
qbittorrent_host_install: false

################################
# Configuration
# Settings
################################

qbittorrent_webui_custom_headers_enabled: "{{ 'true' if qbittorrent_themepark_enabled and global_themepark_plugin_enabled else 'false' }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/radarr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
radarr_instances: ["radarr"]

################################
# Configuration
# Settings
################################

radarr_external_auth: true
Expand Down
2 changes: 1 addition & 1 deletion roles/readarr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
readarr_instances: ["readarr"]

################################
# Configuration
# Settings
################################

readarr_external_auth: false
Expand Down
2 changes: 1 addition & 1 deletion roles/sonarr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
sonarr_instances: ["sonarr"]

################################
# Configuration
# Settings
################################

sonarr_external_auth: true
Expand Down
2 changes: 1 addition & 1 deletion roles/whisparr/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
whisparr_instances: ["whisparr"]

################################
# Configuration
# Settings
################################

whisparr_external_auth: true
Expand Down

0 comments on commit ef1fb74

Please sign in to comment.