53b5d03f7e
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
14 lines
447 B
YAML
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
|