From 7fc3e917ced286bae2694947dd58de70c27bd406 Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 9 Mar 2020 16:59:36 +0100 Subject: [PATCH] increase version and use ansible env (again) --- README.md | 2 +- defaults/main.yml | 2 +- vars/main.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) 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') }}"