]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
do not use update debian cache or try to install packages when package-install is...
authorinsatomcat <insatomcat@users.noreply.github.com>
Wed, 16 Aug 2023 13:51:03 +0000 (15:51 +0200)
committerTeoman ONAY <tonay@redhat.com>
Tue, 22 Aug 2023 09:08:54 +0000 (11:08 +0200)
commit29fe5c8e9aca7ad9b71dc206b7ae3da139d87123
treeaa81b5b1091054a60ccbcb2d74aa601ea2f02f8a
parent13e8b60cd3dbbc4b5c928cc20edb99b99a323923
do not use update debian cache or try to install packages when package-install is disabled

When deploying with --skip-tags=package-install (when there is no access to a repository), the playbook is still trying to update the package cache, or to install ceph-mgr packages, which makes the playbook fail.
This change prevents the playbook to try to update the cache or install ceph-mgr packages when the package-install tag is skipped.

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
(cherry picked from commit 271fd8294296efe42f4e4d98032b4f8aac8ff654)
roles/ceph-common/tasks/configure_repository.yml
roles/ceph-mgr/tasks/pre_requisite.yml