diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | defaults/main.yml | 2 | ||||
-rw-r--r-- | vars/main.yml | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -25,6 +25,7 @@ Variables for the application | |||
25 | - `clever_app_tasks_file`: tasks file to be executed after environment and addons variables where gathered. Specific to an app, should be use to run migrations. Optional. | 25 | - `clever_app_tasks_file`: tasks file to be executed after environment and addons variables where gathered. Specific to an app, should be use to run migrations. Optional. |
26 | - `domain`: the domain from which the application should be reachable, optional | 26 | - `domain`: the domain from which the application should be reachable, optional |
27 | - `syslog_server`: UDP Syslog server to be used as UDPSyslog drain for the application, optional. Example: `udp://198.51.100.51:12345`. | 27 | - `syslog_server`: UDP Syslog server to be used as UDPSyslog drain for the application, optional. Example: `udp://198.51.100.51:12345`. |
28 | - `clever_metrics`: a boolean to enable or disable metrics support. Optional, default to `false`. | ||
28 | 29 | ||
29 | Variables specific to deployment, default should be fine: | 30 | Variables specific to deployment, default should be fine: |
30 | - `clever_cli_version`: Version of clever cli tools, default to `0.9.3`. | 31 | - `clever_cli_version`: Version of clever cli tools, default to `0.9.3`. |
diff --git a/defaults/main.yml b/defaults/main.yml index 5271a84..86fe4e2 100644 --- a/defaults/main.yml +++ b/defaults/main.yml | |||
@@ -9,6 +9,8 @@ clever_login_file: "{{ clever_app_confdir }}/login" | |||
9 | clever_entry_point: "" | 9 | clever_entry_point: "" |
10 | clever_extra_env: {} | 10 | clever_extra_env: {} |
11 | 11 | ||
12 | clever_metrics: false | ||
13 | |||
12 | clever_addons: [] | 14 | clever_addons: [] |
13 | # example | 15 | # example |
14 | # clever_addons: | 16 | # clever_addons: |
diff --git a/vars/main.yml b/vars/main.yml index 0b7f10a..fa1597b 100644 --- a/vars/main.yml +++ b/vars/main.yml | |||
@@ -3,5 +3,5 @@ | |||
3 | clever_base_env: | 3 | clever_base_env: |
4 | CACHE_DEPENDENCIES: "true" | 4 | CACHE_DEPENDENCIES: "true" |
5 | CC_RUN_COMMAND: "~/.local/bin/{{ clever_entry_point }}" | 5 | CC_RUN_COMMAND: "~/.local/bin/{{ clever_entry_point }}" |
6 | ENABLE_METRICS: "false" | 6 | ENABLE_METRICS: "{{ clever_metrics }}" |
7 | PORT: "8080" | 7 | PORT: "8080" |