Update to include hostname in the configuration.
This commit is contained in:
parent
0c35aa1432
commit
fd2b1ca6c1
13
README.md
13
README.md
|
@ -30,10 +30,12 @@ role).
|
||||||
rookeries_environment_name: ...
|
rookeries_environment_name: ...
|
||||||
...
|
...
|
||||||
roles:
|
roles:
|
||||||
- { role: ansible-rookeries,
|
- role: ansible-rookeries
|
||||||
app_nginx_hostname: app.domain.net,
|
rookeries_app_config: "{{ vagrant_rookeries_app_config }}"
|
||||||
app_uwsgi_port: 8080,
|
rookeries_db: "{{ rookeries_db_setup }}"
|
||||||
rookeries_app_config: "{{ my_rookeries_app_config }}" }
|
rookeries_environ_type: prod
|
||||||
|
rookeries_package_path: "{{ rookeries_package }}"
|
||||||
|
rookeries_app_hostname: rookeries.org
|
||||||
|
|
||||||
Role Variables
|
Role Variables
|
||||||
--------------
|
--------------
|
||||||
|
@ -59,6 +61,9 @@ Role Variables
|
||||||
- rookeries_app_name:
|
- rookeries_app_name:
|
||||||
- Configures the unique name of the rookeries app.
|
- Configures the unique name of the rookeries app.
|
||||||
- Default: rookeries
|
- Default: rookeries
|
||||||
|
- rookeries_app_hostname:
|
||||||
|
- Configures the hostname of site (https://my.rookeries_site.net) serving the rookeries app.
|
||||||
|
- Default: localhost
|
||||||
- rookeries_environ_type:
|
- rookeries_environ_type:
|
||||||
- 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.
|
||||||
- Default: dev
|
- Default: dev
|
||||||
|
|
|
@ -16,6 +16,8 @@ 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
|
||||||
|
|
||||||
|
rookeries_app_hostname: localhost
|
||||||
|
|
||||||
# The default configuration for running rookeries
|
# The default configuration for running rookeries
|
||||||
rookeries_app_config:
|
rookeries_app_config:
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ galaxy_info:
|
||||||
dependencies:
|
dependencies:
|
||||||
- { role: dorianpula.nginx-uwsgi-supervisor,
|
- { role: dorianpula.nginx-uwsgi-supervisor,
|
||||||
app_name: "{{ rookeries_app_name }}",
|
app_name: "{{ rookeries_app_name }}",
|
||||||
app_nginx_hostname: localhost,
|
app_nginx_hostname: "{{ rookeries_app_hostname }}",
|
||||||
app_uwsgi_port: 8001,
|
app_uwsgi_port: 8001,
|
||||||
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 }}"}
|
||||||
|
|
Loading…
Reference in New Issue