diff --git a/playbooks/tasks/api_call.yaml b/playbooks/tasks/api_call.yaml index 93442ef..3a537b8 100644 --- a/playbooks/tasks/api_call.yaml +++ b/playbooks/tasks/api_call.yaml @@ -110,3 +110,8 @@ not cached_file.stat.exists and api_call.status | default(0) | int != 404 + + - name: check Cache Files + ansible.builtin.stat: + path: "{{ cache_filepath }}" + register: cached_file