summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/monitor')
-rw-r--r--deploy/adapters/ansible/roles/monitor/tasks/main.yml6
-rw-r--r--deploy/adapters/ansible/roles/monitor/vars/Debian.yml1
2 files changed, 4 insertions, 3 deletions
diff --git a/deploy/adapters/ansible/roles/monitor/tasks/main.yml b/deploy/adapters/ansible/roles/monitor/tasks/main.yml
index b31b91e5..fc072585 100644
--- a/deploy/adapters/ansible/roles/monitor/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/monitor/tasks/main.yml
@@ -10,7 +10,10 @@
- include_vars: "{{ ansible_os_family }}.yml"
- name: copy service check file
- copy: src=check_{{ ansible_os_family }}_service.sh dest=/usr/local/bin/check_service.sh mode=0777
+ copy:
+ src: check_{{ ansible_os_family }}_service.sh
+ dest: /usr/local/bin/check_service.sh
+ mode: 0777
- name: copy cron file
copy: src=root dest={{ cron_path }}/root mode=0600
@@ -19,4 +22,3 @@
service: name={{ cron }} state=restarted
- meta: flush_handlers
-
diff --git a/deploy/adapters/ansible/roles/monitor/vars/Debian.yml b/deploy/adapters/ansible/roles/monitor/vars/Debian.yml
index 225a1493..405ab453 100644
--- a/deploy/adapters/ansible/roles/monitor/vars/Debian.yml
+++ b/deploy/adapters/ansible/roles/monitor/vars/Debian.yml
@@ -9,4 +9,3 @@
---
cron: cron
cron_path: "/var/spool/cron/crontabs"
-