summaryrefslogtreecommitdiffstats
path: root/ansible/roles/resource-data/tasks/ssh-upload.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/resource-data/tasks/ssh-upload.yml')
-rw-r--r--ansible/roles/resource-data/tasks/ssh-upload.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/resource-data/tasks/ssh-upload.yml b/ansible/roles/resource-data/tasks/ssh-upload.yml
index 8e04d5c0..bc7df37f 100644
--- a/ansible/roles/resource-data/tasks/ssh-upload.yml
+++ b/ansible/roles/resource-data/tasks/ssh-upload.yml
@@ -29,6 +29,7 @@
| tar -C "{{ aux_data_path }}" -xf -
when: >
hostvars[groups.resources.0].aux_resources_filename is defined
+ and hostvars[groups.resources.0].aux_resources_filename is not none
and aux_data_path is defined and aux_data_path is not none
and hostvars[groups.resources.0].aux_file_presence.stat.exists
and not aux_resources_data_check.stat.exists