Initial ansible onboard

This commit is contained in:
2024-09-24 15:19:51 +02:00
parent 7366659355
commit f445996797
492 changed files with 2214589 additions and 0 deletions
@@ -0,0 +1,16 @@
- name: Configure geoipupdate
become: true
ansible.builtin.template:
src: etc/GeoIP.conf.j2
dest: /etc/GeoIP.conf
owner: root
group: root
mode: "0644"
backup: true
- name: Register cron job for geoipupdate
become: true
ansible.builtin.cron:
name: "Update GeoIP"
special_time: "{{ geoip_cron_job }}"
job: "/usr/bin/geoipupdate"