]> 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:43 +0000 (11:08 +0200)
commit539fee84a13763e049967902d7837cec8ade9951
tree684772981476467142a66d424e5e649343fa65cd
parent10c7fd72b16bc1456ac0b1b56c27cafac5c24dd5
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