fix(agent): don't load subnet from cache if not present

!1
This commit is contained in:
2024-02-20 15:34:51 +09:30
parent 68f43bf70f
commit 11a4701a63
2 changed files with 10 additions and 1 deletions

View File

@ -19,6 +19,9 @@
ansible.builtin.set_fact:
cached_subnet: "{{ lookup('file', cache_filepath) }}"
cacheable: false
no_log: true
when: >
api_call.status | default(0) | int != 404
- name: Process Scan Results