Consolidated variable usage and added install path.

This commit is contained in:
Joschka Seydell 2020-11-29 03:51:42 -08:00
parent ddc2a1f327
commit d4be3972d8
5 changed files with 67 additions and 64 deletions

View file

@ -1,19 +1,20 @@
---
# defaults file for traefik
traefik_install_user: '{{ ansible_user }}' # This user must be present on the host
traefik_install_path: '/home/{{ traefik_install_user }}'
traefik_virtual_host: localhost
traefik:
expose_internally: True
expose_externally: False
enable_acme: False
use_acme_staging: True
dns_challenge_provider: False
# NOT WORKING YET!
# Extra mapping, for name -> internal address, like myservice: 'http://otherhost:12345'
#extra_mapping:
# myservice: http://otherhost:12345
# use key:value pairs here to add additional environment variables to your traefik docker image.
# for instance, if you're using a dns challenge provider place your api keys etc here.
#additional_env_vars:
# # DUMMY_KEY: DUMMY_VALUE
# CLOUDFLARE_EMAIL: EMAIL
# CLOUDFLARE_API_KEY: API_KEY
traefik_expose_internally: True
traefik_expose_externally: False
traefik_enable_acme: False
traefik_use_acme_staging: True
traefik_dns_challenge_provider: False
# NOT WORKING YET!
# Extra mapping, for name -> internal address, like myservice: 'http://otherhost:12345'
#traefik_extra_mapping:
# - myservice: http://otherhost:12345
# use key:value pairs here to add additional environment variables to your traefik docker image.
# for instance, if you're using a dns challenge provider place your api keys etc here.
#traefik_additional_env_vars:
# # DUMMY_KEY: DUMMY_VALUE
# CLOUDFLARE_EMAIL: EMAIL
# CLOUDFLARE_API_KEY: API_KEY