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>
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