aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/linode-dns-update/handlers
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-11-24 20:31:54 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-11-24 20:31:54 +0100
commitf985755b32cc3f3558604264823de32de557b288 (patch)
tree322a0d116a6be03a7f604f778e04e1c81f31bba2 /ansible/roles/linode-dns-update/handlers
parentc25c490677bcba2c2e9fee90db10594bd43f6982 (diff)
downloadinfra-f985755b32cc3f3558604264823de32de557b288.tar.gz
infra-f985755b32cc3f3558604264823de32de557b288.tar.bz2
infra-f985755b32cc3f3558604264823de32de557b288.tar.xz
infra-f985755b32cc3f3558604264823de32de557b288.zip
o Adding Linode update code.
Diffstat (limited to 'ansible/roles/linode-dns-update/handlers')
-rw-r--r--ansible/roles/linode-dns-update/handlers/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/linode-dns-update/handlers/main.yml b/ansible/roles/linode-dns-update/handlers/main.yml
new file mode 100644
index 0000000..9d7ba98
--- /dev/null
+++ b/ansible/roles/linode-dns-update/handlers/main.yml
@@ -0,0 +1,10 @@
+- name: systemd daemon-reload
+ become: yes
+ systemd:
+ daemon_reload: true
+
+- name: service start linode-dns-update.timer
+ become: yes
+ service:
+ name: linode-dns-update.timer
+ state: restarted