feat: add directory creation tasks for GeoLite2 ASN, City, and Country database extractions
This commit is contained in:
parent
06df06a3ee
commit
57de662fff
@ -22,6 +22,25 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
# Create directories for extracted databases
|
||||||
|
- name: Create directory for ASN database extraction
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ echoip_data_dir }}/GeoLite2-ASN"
|
||||||
|
state: directory
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Create directory for City database extraction
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ echoip_data_dir }}/GeoLite2-City"
|
||||||
|
state: directory
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: Create directory for Country database extraction
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ echoip_data_dir }}/GeoLite2-Country"
|
||||||
|
state: directory
|
||||||
|
mode: "0755"
|
||||||
|
|
||||||
# Download all databases
|
# Download all databases
|
||||||
- name: Download GeoLite2 ASN database
|
- name: Download GeoLite2 ASN database
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user