diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | defaults/main.yml | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ Variables for the application | |||
35 | Variables specific to deployment, default should be fine: | 35 | Variables specific to deployment, default should be fine: |
36 | - `clever_cli_version`: Version of clever cli tools, default to `0.9.3`. | 36 | - `clever_cli_version`: Version of clever cli tools, default to `0.9.3`. |
37 | - `clever_user_path`: Path relative to ansible_user home dir where cli tools and helpers are installed default to `.local/bin`. | 37 | - `clever_user_path`: Path relative to ansible_user home dir where cli tools and helpers are installed default to `.local/bin`. |
38 | - `clever_app_root`: Path of the application to deploy, default to `"{{ playbook_dir }}/.."`, ie ansible directory in the root of the application. | 38 | - `clever_app_root`: Path of the application to deploy, default to `app_root` if defined or `"{{ playbook_dir }}/.."`, ie ansible directory in the root of the application. |
39 | - `clever_app_confdir`: Path where to store clever cloud data specific to this application, default to `"{{ clever_app_root }}/.clever_cloud"` | 39 | - `clever_app_confdir`: Path where to store clever cloud data specific to this application, default to `"{{ clever_app_root }}/.clever_cloud"` |
40 | - `clever_login_file`: Path to store login information. Default to `"{{ clever_app_confdir }}/login"`. | 40 | - `clever_login_file`: Path to store login information. Default to `"{{ clever_app_confdir }}/login"`. |
41 | 41 | ||
diff --git a/defaults/main.yml b/defaults/main.yml index 66149b0..1fbea48 100644 --- a/defaults/main.yml +++ b/defaults/main.yml | |||
@@ -2,7 +2,7 @@ | |||
2 | # defaults file for clever | 2 | # defaults file for clever |
3 | clever_cli_version: 0.9.3 | 3 | clever_cli_version: 0.9.3 |
4 | clever_user_path: .local/bin | 4 | clever_user_path: .local/bin |
5 | clever_app_root: "{{ playbook_dir }}/.." | 5 | clever_app_root: "{{ app_root | default(playbook_dir + '/..') }}" |
6 | clever_app_confdir: "{{ clever_app_root }}/.clever_cloud" | 6 | clever_app_confdir: "{{ clever_app_root }}/.clever_cloud" |
7 | clever_login_file: "{{ clever_app_confdir }}/login" | 7 | clever_login_file: "{{ clever_app_confdir }}/login" |
8 | 8 | ||