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>
(cherry picked from commit 63f20f5)
  • Loading branch information
insatomcat authored and guits committed Apr 4, 2022
1 parent 3dd918d commit df8674a
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 df8674a

Please sign in to comment.