Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions etc/kayobe/ansible/smartmon-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
state: present
become: true

- name: Ensure the cron/crond service is running
service:
name: "{{ 'cron' if ansible_facts['distribution'] == 'Ubuntu' else 'crond' }}"
state: started
enabled: true
become: true

- name: Copy smartmon.sh and nvmemon.sh from scripts folder
copy:
src: "scripts/{{ item }}"
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/smartmontools-bc8176f45d58a75d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
features:
- |
The smartmon-tools playbook now ensures that the cron service is running as
in some cases it may not be running by default.