Merge "collectd: add support for mcelog service" into stable/ussuri
This commit is contained in:
commit
0ab49cda0c
|
@ -377,6 +377,10 @@ parameters:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Set to true to enable configuration for STF client.
|
description: Set to true to enable configuration for STF client.
|
||||||
default: false
|
default: false
|
||||||
|
CollectdEnableMcelog:
|
||||||
|
type: boolean
|
||||||
|
description: Set to true to enable mcelog
|
||||||
|
default: false
|
||||||
|
|
||||||
conditions:
|
conditions:
|
||||||
amqp_connection:
|
amqp_connection:
|
||||||
|
@ -732,6 +736,10 @@ outputs:
|
||||||
mode: "{{ item.mode }}"
|
mode: "{{ item.mode }}"
|
||||||
with_items:
|
with_items:
|
||||||
- { 'path': /var/log/containers/collectd, 'setype': container_file_t, 'mode': '0750' }
|
- { 'path': /var/log/containers/collectd, 'setype': container_file_t, 'mode': '0750' }
|
||||||
|
- name: import provision_mcelog
|
||||||
|
import_role:
|
||||||
|
name: tripleo_provision_mcelog
|
||||||
|
when: {get_param: CollectdEnableMcelog}
|
||||||
fast_forward_upgrade_tasks:
|
fast_forward_upgrade_tasks:
|
||||||
- when:
|
- when:
|
||||||
- step|int == 0
|
- step|int == 0
|
||||||
|
|
Loading…
Reference in New Issue