diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/monitor/tasks')
-rw-r--r-- | deploy/adapters/ansible/roles/monitor/tasks/main.yml | 6 |
1 files changed, 4 insertions, 2 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 - |