Toshiaki Takahashi 53b5d03f7e Restore Ceilometer installation
This reverts [1], with some complementary bits and pieces.
Historically it'd been deactivated twice on master branch.
See also [3], which was reverted in [2]. Note this reverts
[4] as well.

[1] https://review.opendev.org/c/openstack/tacker/+/757537
[2] https://review.opendev.org/c/openstack/tacker/+/754882
[3] https://review.opendev.org/c/openstack/tacker/+/751965
[4] https://review.opendev.org/c/openstack/tacker/+/760275

Change-Id: I9c9cc65772b2f88c5ed7ef8178b79aa5c7011f29
2021-01-14 15:05:24 +09:00

14 lines
447 B
YAML

- name: set db cli package name (postgresql-client)
set_fact:
db_cli_package_name: postgresql-client
when: ansible_os_family in ['Debian', 'RedHat', 'Suse']
- name: fail if postgresql client package is not resolved
fail:
msg: postgresql client to install cannot be determined
when: db_cli_package_name is not defined
- name: install db cli package
become: true
package:
name: "{{ db_cli_package_name }}"
state: present