From: insatomcat Date: Wed, 30 Mar 2022 13:48:02 +0000 (+0200) Subject: do not update Debian cache when package-install is disabled X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=58fdc03e63f5ae726090a19a2412ea2eec5a1f4e;p=ceph-ansible.git 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 --- 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