evolinux-base: configure cciss-vol-statusd in the proper file
continuous-integration/drone/push Build is passing
Détails
continuous-integration/drone/push Build is passing
Détails
The default file should be used for configuration instead of the init script.
Cette révision appartient à :
Parent
35549d2dea
révision
f2613e91aa
|
@ -60,6 +60,7 @@ The **patch** part changes incrementally at each release.
|
|||
* evocheck: cron jobs execute in verbose
|
||||
* evolinux-base: use "evolinux_internal_group" for SSH authentication
|
||||
* evolinux-base: Don't customize the logcheck recipient by default.
|
||||
* evolinux-base: configure cciss-vol-statusd in the proper file
|
||||
* evomaintenance: upstream release 0.6.3
|
||||
* evomaintenance: Turn on API by default (instead of DB)
|
||||
* evomaintenance: install PG dependencies only when needed
|
||||
|
|
|
@ -52,17 +52,24 @@
|
|||
- ssacli
|
||||
state: present
|
||||
|
||||
- name: Configure packages for HP hardware
|
||||
- name: cciss-vol-statusd init script is present
|
||||
template:
|
||||
src: hardware/cciss-vol-statusd.j2
|
||||
dest: /etc/init.d/cciss-vol-statusd
|
||||
mode: "0755"
|
||||
|
||||
- name: Configure cciss-vol-statusd
|
||||
lineinfile:
|
||||
dest: /etc/default/cciss-vol-statusd
|
||||
line: 'MAILTO="{{ raid_alert_email or general_alert_email | mandatory }}"'
|
||||
regexp: 'MAILTO='
|
||||
create: yes
|
||||
|
||||
- name: Enable HP hardware in systemd
|
||||
service:
|
||||
name: cciss-vol-statusd
|
||||
enabled: true
|
||||
state: started
|
||||
state: restarted
|
||||
when: "'Hewlett-Packard Company Smart Array' in raidmodel.stdout"
|
||||
|
||||
- name: MegaRAID SAS package is present
|
||||
|
|
|
@ -20,7 +20,7 @@ PIDFILE=/var/run/$NAME.pid
|
|||
STATUSFILE=/var/run/$NAME.status
|
||||
SCRIPTNAME=/etc/init.d/$NAME
|
||||
|
||||
MAILTO="{{ raid_alert_email or general_alert_email | mandatory }}" # Where to report problems
|
||||
MAILTO="root" # Where to report problems
|
||||
PERIOD=600 # Seconds between each check (default 10 minutes)
|
||||
REMIND=86400 # Seconds between each reminder (default 2 hours)
|
||||
RUN_DAEMON=yes
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket