Commit 2dacc8d9 by Feanil Patel

Move the nginx config variable from common.

Put the configuration information in the vars for the nginx role
since that is the only role that uses it.
parent 8c121d54
# Variables for the common role
# Automatically loaded when the common role is used
---
nginx_cfg:
# - link - turn on
# - absent - turn off
sites_enabled:
basic_auth: link
edx_release: link
# path to version files for the basic
# nginx configuration
version_html: $app_base_dir/versions.html
version_json: $app_base_dir/versions.json
# default htpasswd contents set to edx/edx
# this value can be overiden in vars/secure/<group>.yml
htpasswd: |
edx:$apr1$2gWcIvlc$Nu7b/KTwd5HoIDEkSPNUk/
......@@ -3,3 +3,19 @@
pkgs:
nginx:
state: installed
nginx_cfg:
# - link - turn on
# - absent - turn off
sites_enabled:
basic_auth: link
edx_release: link
# path to version files for the basic
# nginx configuration
version_html: $app_base_dir/versions.html
version_json: $app_base_dir/versions.json
# default htpasswd contents set to edx/edx
# this value can be overiden in vars/secure/<group>.yml
htpasswd: |
edx:$apr1$2gWcIvlc$Nu7b/KTwd5HoIDEkSPNUk/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment