Add additional variables to allow for more configurability.
This commit is contained in:
parent
cbfa3ba1c7
commit
3a1cad7105
|
@ -37,9 +37,13 @@ role).
|
||||||
rookeries_package_path: "{{ rookeries_package }}"
|
rookeries_package_path: "{{ rookeries_package }}"
|
||||||
rookeries_app_hostname: rookeries.org
|
rookeries_app_hostname: rookeries.org
|
||||||
|
|
||||||
|
*TODO: Add in section for description of symlink enabled deployments.*
|
||||||
|
|
||||||
Role Variables
|
Role Variables
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
*TODO: A description of newer role variables for version number and app name*
|
||||||
|
|
||||||
- rookeries_db:
|
- rookeries_db:
|
||||||
- This configures database soecific inforaation
|
- This configures database soecific inforaation
|
||||||
- keys:
|
- keys:
|
||||||
|
|
|
@ -10,13 +10,16 @@ rookeries_db:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 3306
|
port: 3306
|
||||||
|
|
||||||
# Name of the rookeries app
|
|
||||||
rookeries_app_name: rookeries
|
|
||||||
|
|
||||||
# The mode of the setup. Setting to "dev" enables the use of a SMTP fake server to help with development.
|
# The mode of the setup. Setting to "dev" enables the use of a SMTP fake server to help with development.
|
||||||
rookeries_environ_type: dev
|
rookeries_environ_type: dev
|
||||||
|
|
||||||
|
# TODO Clean up and simplify the configuration.
|
||||||
|
# Name of the rookeries app
|
||||||
|
rookeries_app_name: rookeries
|
||||||
|
rookeries_version: 0.4.9
|
||||||
rookeries_app_hostname: localhost
|
rookeries_app_hostname: localhost
|
||||||
|
rookeries_local_uwsgi_port: 8001
|
||||||
|
|
||||||
# The default configuration for running rookeries
|
# The default configuration for running rookeries
|
||||||
rookeries_app_config:
|
rookeries_app_config:
|
||||||
|
|
|
@ -8,7 +8,6 @@ galaxy_info:
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
- saucy
|
|
||||||
- trusty
|
- trusty
|
||||||
categories:
|
categories:
|
||||||
- development
|
- development
|
||||||
|
@ -17,6 +16,6 @@ dependencies:
|
||||||
- { role: dorianpula.nginx-uwsgi-supervisor,
|
- { role: dorianpula.nginx-uwsgi-supervisor,
|
||||||
app_name: "{{ rookeries_app_name }}",
|
app_name: "{{ rookeries_app_name }}",
|
||||||
app_nginx_hostname: "{{ rookeries_app_hostname }}",
|
app_nginx_hostname: "{{ rookeries_app_hostname }}",
|
||||||
app_uwsgi_port: 8001,
|
app_uwsgi_port: "{{ rookeries_local_uwsgi_port }}",
|
||||||
app_uwsgi_executable: "rookeries:make_rookeries_app()",
|
app_uwsgi_executable: "rookeries:make_rookeries_app()",
|
||||||
app_uwsgi_envs: "{{ rookeries_app_config }}"}
|
app_uwsgi_envs: "{{ rookeries_app_config }}"}
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
app_name: "{{ rookeries_app_name }}"
|
app_name: "{{ rookeries_app_name }}"
|
||||||
|
|
||||||
# Introduced from deployment playbook
|
# Introduced from deployment playbook
|
||||||
rookeries_venv: "{{ virtualenv_root_path }}/rookeries"
|
rookeries_venv: "{{ virtualenv_root_path }}/{{ rookeries_app_name }}"
|
||||||
rookeries_package: rookeries-0.5.0.tar.bz2
|
|
||||||
|
rookeries_package: "{{ rookeries_app_name }}-{{ rookeries_version }}.tar.bz2"
|
||||||
rookeries_package_path: "{{ rookeries_package }}"
|
rookeries_package_path: "{{ rookeries_package }}"
|
||||||
|
|
||||||
# Extra virtualenv if working in a dev environment to provide the mailsink testing server
|
# Extra virtualenv if working in a dev environment to provide the mailsink testing server
|
||||||
|
|
Loading…
Reference in New Issue