Use global package_state

We missed upating ceph_client_package_state to use package_state
for default value, as other roles do.
So we're fixing it not to update ceph client packages every time, which
can lead to interesting consequences depending on the destination.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-tests/+/843175
Change-Id: I0d6014649307bb6556cdc189cf8d749e1ec9b20a
(cherry picked from commit 6fbe1ab3c0)
This commit is contained in:
Dmitriy Rabotyagov 2022-05-18 20:45:30 +02:00 committed by Dmitriy Rabotyagov
parent 141b37fdd1
commit 71b4c59e57
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
# Set the package install state for distribution packages
# Options are 'present' and 'latest'
ceph_client_package_state: "latest"
ceph_client_package_state: "{{ package_state | default('latest') }}"
# to use Ceph in OSA, you need to
# - have the needed pools and a client user (for glance, cinder and/or nova)