From 14b8c47da7bbab3d19bd9fdf788f4fbb2776f31f Mon Sep 17 00:00:00 2001 From: insatomcat Date: Wed, 30 Mar 2022 15:48:02 +0200 Subject: [PATCH] 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 (cherry picked from commit 63f20f59418a668261c91e408ad7ae5ac67a63d1) --- roles/ceph-infra/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-infra/tasks/main.yml b/roles/ceph-infra/tasks/main.yml index e9620327b..8172dc014 100644 --- a/roles/ceph-infra/tasks/main.yml +++ b/roles/ceph-infra/tasks/main.yml @@ -5,6 +5,7 @@ when: ansible_facts['os_family'] == "Debian" register: result until: result is succeeded + tags: package-install - name: include_tasks configure_firewall.yml include_tasks: configure_firewall.yml -- 2.39.5