Skip to content

Commit

Permalink
Enable timer
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardehrenfried committed Nov 23, 2024
1 parent fbe8b52 commit 4969cce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/poi/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,15 @@
dest: /etc/systemd/system/
with_items:
- import-pois.service
- import-pois.timer
notify: Restart import-pois

- name: Enable and start import-pois.timer
ansible.builtin.systemd:
name: import-pois.timer
enabled: yes
state: started

- name: Install config and script files
template: src={{ item }} dest=/var/poi/
with_items:
Expand Down

0 comments on commit 4969cce

Please sign in to comment.