Merge "Fix OSP Resources collectd plugin in OSP 13"
This commit is contained in:
commit
835dc69e6a
@ -53,12 +53,12 @@
|
|||||||
become: true
|
become: true
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: (Keystone Token Count) Install libdbi mysql driver
|
- name: Install libdbi mysql driver
|
||||||
yum:
|
yum:
|
||||||
name: "{{item}}"
|
name: "{{item}}"
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
when: "(('Controller' in group_names and keystone_overcloud_collectd_plugin and inventory_hostname == groups['Controller'][0]) or ('Undercloud' in group_names and keystone_undercloud_collectd_plugin))"
|
when: "(('Controller' in group_names and (keystone_overcloud_collectd_plugin or osp_resources_collectd_plugin) and inventory_hostname == groups['Controller'][0]) or ('Undercloud' in group_names and keystone_undercloud_collectd_plugin))"
|
||||||
with_items:
|
with_items:
|
||||||
- libdbi-dbd-mysql
|
- libdbi-dbd-mysql
|
||||||
- collectd-dbi
|
- collectd-dbi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user