We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed7b03f commit 0e7ea64Copy full SHA for 0e7ea64
etc/kayobe/ansible/smartmon-tools.yml
@@ -12,6 +12,13 @@
12
state: present
13
become: true
14
15
+ - name: Ensure the cron/crond service is running
16
+ service:
17
+ name: "{{ 'cron' if ansible_facts['distribution'] == 'Ubuntu' else 'crond' }}"
18
+ state: started
19
+ enabled: true
20
+ become: true
21
+
22
- name: Copy smartmon.sh and nvmemon.sh from scripts folder
23
copy:
24
src: "scripts/{{ item }}"
releasenotes/notes/smartmontools-bc8176f45d58a75d.yaml
@@ -0,0 +1,6 @@
1
+---
2
+features:
3
+ - |
4
+ The smartmon-tools playbook now ensures that the cron service is running as
5
+ in some cases it may not be running by default.
6
0 commit comments