diff --git a/README.md b/README.md index edc563b..b5a748f 100644 --- a/README.md +++ b/README.md @@ -84,5 +84,5 @@ submodules_versioncheck: false ranger: repo: 'https://github.com/ranger/ranger.git' branch: 'master' - download_directory: "{{ x_ansible_download_dir | default('~/.ansible/tmp/downloads/ranger') }}" + download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}" ``` diff --git a/defaults/main.yml b/defaults/main.yml index c2f6ec5..e696e82 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -6,4 +6,4 @@ submodules_versioncheck: false ranger: repo: 'https://github.com/ranger/ranger.git' branch: 'master' - download_directory: "{{ x_ansible_download_dir | default('~/.ansible/tmp/downloads/ranger') }}" + download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}" diff --git a/vars/main.yml b/vars/main.yml index a1d114c..5341168 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,10 +1,10 @@ --- # versionscheck -playbook_version_number: 1025 # should be over ninethousand -playbook_version_path: 'role-ranger_roles-ansible_github.com.version' +playbook_version_number: 1026 # should be over ninethousand +playbook_version_path: 'role-ranger_roles-ansible_github.com.version' # variables for ranger _ranger: repo: 'https://github.com/ranger/ranger.git' branch: 'master' - download_directory: "{{ x_ansible_download_dir | default('~/.ansible/tmp/downloads/ranger') }}" + download_directory: "{{ x_ansible_download_dir | default(ansible_env.HOME + '/.ansible/tmp/downloads/ranger') }}"