Skip to content

Commit

Permalink
do not update Debian cache when package-install is disabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
insatomcat committed Mar 30, 2022
1 parent 72e4654 commit 63f20f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/ceph-infra/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63f20f5

Please sign in to comment.