paulbsd-salt/states/geoip/install.sls
Paul d265efece7
All checks were successful
continuous-integration/drone/push Build is passing
updated geoip state
2024-04-17 08:13:02 +02:00

14 lines
355 B
Plaintext

---
{%- from "geoip/map.jinja" import geoip with context %}
{% for dbname in geoip.dbs %}
geoip-install-{{ dbname }}:
file.managed:
- name: {{ geoip.basepath }}/{{ dbname }}
- source: {{ geoip.url }}/{{ geoip.version }}/{{ dbname }}
- skip_verify: True
- makedirs: True
- user: root
- group: root
- mode: "0644"
{% endfor %}