Browse Source

Merge "Relax needs_delete() filter" into stable/train

changes/40/705440/3
Zuul Gerrit Code Review 2 weeks ago
parent
commit
46d0f6532f
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      tripleo_ansible/ansible_plugins/filter/helpers.py

+ 0
- 7
tripleo_ansible/ansible_plugins/filter/helpers.py View File

@@ -109,13 +109,6 @@ class FilterModule(object):
to_delete += [c_name]
continue

# Remove containers managed by tripleo-ansible that aren't in
# config e.g. containers not needed anymore and removed by an
# upgrade. Note: we don't cleanup paunch-managed containers.
if c_name not in config:
to_delete += [c_name]
continue

for c_name, config_data in config.items():
# don't try to remove a container which doesn't exist
if c_name not in installed_containers:


Loading…
Cancel
Save