Skip to content

Commit d2c43c7

Browse files
authored
Merge pull request #542 from stackhpc/update/smartmon-playbook
Update/smartmon playbook
2 parents 9cfa4bb + 111d163 commit d2c43c7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

etc/kayobe/ansible/smartmon-tools.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
- hosts: overcloud
33

44
tasks:
5-
- name: Ensure smartmon-tools and nvme-cli is installed
5+
- name: Ensure smartmon-tools, jq, nvme-cli and cron/cronie is installed
66
package:
77
name:
88
- smartmontools
99
- nvme-cli
1010
- jq
11+
- "{{ 'cron' if ansible_facts['distribution'] == 'Ubuntu' else 'cronie' }}"
1112
state: present
1213
become: true
1314

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
upgrade:
3+
- |
4+
Updates the smartmon-tools.yml playbook to ensure that cron is installed
5+
before attempting to configure crontab.

0 commit comments

Comments
 (0)