Role service-bird-icvpn: rename systemd unit+timer icvpn-update to icvpn-tinc-bgp-update

This commit is contained in:
Tobias Hachmer 2017-10-04 00:25:29 +02:00
parent b0f0d63383
commit 817f86abb7
3 changed files with 9 additions and 9 deletions

View file

@ -59,26 +59,26 @@
- /etc/bird/icvpn_ipv6_peers.conf - /etc/bird/icvpn_ipv6_peers.conf
- /etc/bird/icvpn_ipv6_roa.conf - /etc/bird/icvpn_ipv6_roa.conf
- name: write systemd unit icvpn-update.service - name: write systemd unit icvpn-tinc-bgp-update.service
template: template:
src: icvpn-update.service.j2 src: icvpn-tinc-bgp-update.service.j2
dest: /etc/systemd/system/icvpn-update.service dest: /etc/systemd/system/icvpn-tinc-bgp-update.service
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: reload systemd notify: reload systemd
- name: write systemd timer icvpn-update.timer - name: write systemd timer icvpn-tinc-bgp-update.timer
template: template:
src: icvpn-update.timer.j2 src: icvpn-tinc-bgp-update.timer.j2
dest: /etc/systemd/system/icvpn-update.timer dest: /etc/systemd/system/icvpn-tinc-bgp-update.timer
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: reload systemd notify: reload systemd
- name: configure systemd unit/timer icvpn-update - name: configure systemd unit/timer icvpn-tinc-bgp-update
systemd: systemd:
name: icvpn-update.timer name: icvpn-tinc-bgp-update.timer
enabled: yes enabled: yes
state: started state: started

View file

@ -2,7 +2,7 @@
# {{ ansible_managed }} # {{ ansible_managed }}
# #
[Unit] [Unit]
Description=Timer which schedules icvpn-update.service Description=Timer which schedules icvpn-tinc-bgp-update.service
[Timer] [Timer]
OnBootSec=1h OnBootSec=1h