mirror of https://github.com/ceph/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 <florent.carli@rte-france.com>
(cherry picked from commit 58fdc03e63
)
pull/7137/head
parent
023a3001f2
commit
3ec9b054ce
|
@ -5,6 +5,7 @@
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
when: ansible_facts['os_family'] == "Debian"
|
||||||
register: result
|
register: result
|
||||||
until: result is succeeded
|
until: result is succeeded
|
||||||
|
tags: package-install
|
||||||
|
|
||||||
- name: include_tasks configure_firewall.yml
|
- name: include_tasks configure_firewall.yml
|
||||||
include_tasks: configure_firewall.yml
|
include_tasks: configure_firewall.yml
|
||||||
|
|
Loading…
Reference in New Issue