]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
do not update Debian cache when package-install is disabled
authorinsatomcat <insatomcat@users.noreply.github.com>
Wed, 30 Mar 2022 13:48:02 +0000 (15:48 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Mon, 4 Apr 2022 11:49:33 +0000 (13:49 +0200)
commit14b8c47da7bbab3d19bd9fdf788f4fbb2776f31f
tree6ce1e838bdbbe7ecd539f720993630f881407abf
parentd1e4b831062988af8b43416ce9ac3cb97f7f3c80
do not update Debian cache 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, which makes the playbook fail.
This change prevents the playbook to try to update the cache when the package-install tag is skipped.

Signed-off-by: Florent CARLI <florent.carli@rte-france.com>
(cherry picked from commit 63f20f59418a668261c91e408ad7ae5ac67a63d1)
roles/ceph-infra/tasks/main.yml