mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
ansible-lint 6.5.0 complains about: name: All names should start with an uppercase letter. (name[casing])
15 lines
510 B
YAML
15 lines
510 B
YAML
- name: Install geoipupdate
|
|
pacman: name=geoipupdate state=present
|
|
register: installation
|
|
|
|
- name: Configure geoipupdate
|
|
template: src=GeoIP.conf.j2 dest=/etc/GeoIP.conf owner=root group=root mode=0600
|
|
register: configuration
|
|
|
|
- name: Run geoipupdate after installation or configuration change
|
|
systemd: name=geoipupdate state=restarted
|
|
when: installation is changed or configuration is changed
|
|
|
|
- name: Start and enable geoipupdate.timer
|
|
systemd: name=geoipupdate.timer enabled=yes state=started
|